Anjuta Manual version 0.1

Copyright (c) Kh. Naba Kumar Singh

Contents Index Shortcuts
PREV:Managing make files UP:Concept of project management NEXT:Debugging

Compiling, building and executing project:

The basics:

Executable of a project is generated in two steps:

  1. Compiling
  2. Linking

These steps collectively is called Building executable. Generally, some other not-so-obvious steps may also involve in the build process, but for the shake of simplicity and explainability, we shall consider only the above two steps.

Compiling is the step in which so called object files are generated from their corrosponding source files. For instance, a source file helloc.c, after compilation, will generate hello.o. Basically you don't worry about these object files. Just consider them as an intermidiate step involved in generating the final executable.

Once the object files (*.o files) are ready, they are all linked together ( along with the libraries ) with a linker (a program that links) to generate the final executable. Obviously, this step is called Linking.