Show Contents

# Create a C/C++ project from scratch

You can use the DEY Eclipse plugins to create C or C++ projects for your ConnectCore platform. These projects create executables or libraries (shared or static) with automatically generated makefiles. You can also provide your own makefile:

- Standard makefile project. For this type of project, you must provide the makefile(s) required to build the sources. Depending on the makefile(s) provided, the result will be an executable, a shared library, or a static library.
- Managed makefile project. The required makefiles are automatically created by the IDE. There are three different types:

- Executable. Executables are *.exe files.
- Shared Library. Shared libraries are *.so files. All the code related to the library is in this file, and it is referenced by programs using it at runtime. A program using a shared library only links to the code that it uses in the shared library.
- Static Library. Static libraries are *.a files. When building static libraries, instead of linking, the make process calls the archiver to pack all objects together after all source files are compiled. When you build a program that uses a static library, all the required functionality of the static library is copied into the executable file.

- Autotools project. The required makefiles are automatically created by the GNU Autotools.
  The GNU Autotools are programming tools designed to facilitate making a project portable to multiple systems or build environments. The tools aid the developer in creating a configure script invoked before building. The configure script scans the build environment, and the results are used to create the appropriate makefiles for the build.

Note For more information, visit the "C/C++ Development User Guide and Autotools Plug-in User Guide" at http://help.eclipse.org/index.jsp.

© 2018 Digi International Inc. All rights reserved.
Create a C/C++ project from scratch updated on 22 January 2018 02:43:38 PM