next up previous contents
Next: How to Load the Up: Code generation Previous: Overview   Contents

How to Compile an Executive

Each macro-executive source file must be first translated by the GNU m4 macroprocessor, into a text file in the language preferred for the processor (usually assembler for efficiency, sometimes C or another high-level language for portability). This translation relies on several files included in the following order: These indirected inclusions, through the names specified under SynDEx, provide a very flexible and powerful mechanism needed to support efficiently heterogeneous architectures, with heterogeneous languages and compilation chains.

Then each macroprocessed text file must be compiled with the adequate compiler, and linked with the adequate linker against separately compatibly-compiled application-specific files and/or processor-specific libraries, for those macros which cannot simply inline the desired code, but instead must call separately compiled codes.


next up previous contents
Next: How to Load the Up: Code generation Previous: Overview   Contents
Julien Forget 2003-03-21