Include the header files

Once an application/program is developped based on ComLinC, it needs some settings to get it run. Firstly, make sure that the proper ComLinC header files are included in the program. Basically, the commonly used headers are grouped in cl_common.h, so #include <cl_common.h> should be enough most time.

In order to let the compiler find where the ComLinC headers locates, passing -IHeaderDIR to the compiler, where HeaderDIR is the directory containing the ComLinC header files. For example:

 gcc -c -Wall -ggdb yourfile.c -I.
This will compile (-c) yourfile.c, and let the program DGB debuggable (-ggdb), warning everything during the compiling (-Wall), also notifying the compiler that the header files are located in current directory (-I.).



Kefei Lu 2007-12-03