MICO: An Open Source CORBA Implementation

| Note | Wrappers ease the generation ofMICO applications |
It can be quite complicated to compile and link MICO applicationsbecause you have to specify system-dependent compiler flags, linkerflags, and libraries. This is why MICO provides you with four shellscripts:
should be used as the C++ compiler when compiling the C++source files of a MICO application.
should be used as the linker when linking together the .o filesof a MICO application.
should be used as the C++ compiler when compiling theC++ source files of a MICO dynamically loadable module. mico-shc++ will not be available if you specified the --disable-dynamic option during configuration.
should be used as the linker when linking together the .o filesof a MICO dynamically loadable module. mico-shld willnot be available unless you specified the --enable-dynamicoption during configuration.
Let's consider building a simple MICO application that consists oftwo files: account.idl and main.cc. Here's how to build account:
idl account.idlmico-c++ -I. -c account.cc -o account.omico-c++ -I. -c main.cc -o main.omico-ld account.o main.o -o account -lmico
As a second example, consider building a dynamically loadablemodule and a client program that loads the module. We have threesource files now: account.idl, client.cc, and module.cc: