Overview - Compiling

Before a program can be run, it has to be converted from source code to executable code. The Compiler can produce various forms of executable code directly, or it can create object code. Object code is not executable, and has to be linked to the run-time system to create an executable file. The Compiler has two phases: one for checking the program syntax and one for generating native machine code.

By default, the Compiler compiles your program without any intervention. You can configure the project to be built in a specific way, such as specifying types of target files to build, the target platform and so on.

By default, your project is built automatically, every time you save the project. This ensures that whenever a resource changes, an incremental build starts and all resources modified since the last build are rebuilt. You can force a manual build too, by cleaning the project.

You can configure the compilation using the following techniques:

The Compiler records errors with severity levels ranging from information messages to fatal errors which stop the Compiler working.