Show Contents

# Create an Autotools project

1. Select File > New > Project to open the New Project wizard.
2. Select the type of project to create under the C/C++ category. For example, choose C Project.
3. Click Next. The C Project wizard opens.
4. Type a name for your project in the Project name text box.
5. Optionally you can change the location of the project by deselecting the Use default location option.
6. From the Project type list, expand the DEY GNU Autotools and select one of the available options:

- Empty Project. This option only generates a new project. You must provide the configure.ac file, the Makefile.am, and the sources to build.
- Hello World ANSI C Project. This option generates a Hello World application including the source code, the configure.ac, and Makefile.am files.
- Autotools Shared Library Project. A shared library example with code, configure.ac, and Makefile.am files.

7. Select DEY GNU Autotools Toolchain from the Toolchains list.
8. Click Next. The Select Configurations page is displayed, where you can choose the configurations to create or perform advanced configuration.
9. Click Next to display the Configure Digi Embedded Yocto platform and toolchain page.
   This page shows the available platforms and toolchains for the selected platform depending on the directory configured in the DEY Toolchains preference page. See Configure installed toolchains.
   By default, the preference values are selected.
10. Select the platform for your project in the Platform list.
11. Select the toolchain to use from the Available toolchains list.
12. Click Finish to create the project.

> Note If the C++ perspective is not the current one, a message appears asking if you would like to open the C/C++ perspective.

> A new project is created with the configured settings. It is listed in the Project Explorer view.
> Depending on the selected project type, you must provide the source code, configure.ac, and Makefile.am files for the project. The required makefiles are automatically generated.
> To customize your project build options see Configure an Autotools project.

Note For more information, see the Autotools Plug-in User Guide at http://help.eclipse.org/index.jsp.

© 2018 Digi International Inc. All rights reserved.
Create an Autotools project updated on 14 February 2018 12:00:54 AM