Документ взят из кэша поисковой машины. Адрес оригинального документа : http://rtm-cs.sinp.msu.ru/manual/mico/doc/node50.html
Дата изменения: Mon Jun 7 21:54:58 1999
Дата индексирования: Mon Oct 1 21:22:23 2012
Кодировка:
Compiler and Linker Wrappers next up previous
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.




next up previous
Next: Examples Up: Implementation Overview Previous: IDL Compiler

Arno Puder
Mon Jun 7 10:53:40 PDT 1999