Keywords: doc

Next: Examples Up: Implementation Overview Previous: IDL Compiler

# Compiler and Linker Wrappers

It can be quite complicated to compile and link MICO applications because you have to specify system dependent compiler flags, linker flags and libraries. This is why MICO provides you with four shells scripts:

`mico-c++`
  should be used as the C++ compiler when compiling the C++ source files of a MICO-application.
`mico-ld`
  should be used as the linker when linking together the `.o` files of a MICO-application.
`mico-shc++`
  should be used as the C++ compiler when compiling the C++ source files of a MICO dynamically loadable module. `mico-shc++` will not be available unless you specified the `-enable-dynamic` option during configuration.
`mico-shld`
  should be used as the linker when linking together the `.o` files of a MICO dynamically loadable module. `mico-shld` will not be available unless you specified the `-enable-dynamic` option during configuration.

The scripts can be used just like the normal compiler/linker, except that for `mico-shld` you do not specify a file name suffix for the output file because `mico-shld` will append a system dependent shared object suffix (`.so` on most systems) to the specified output file name.

- Examples