An Example

An example: Suppose the application is test.c. The ComLinC headers are in /home/me/comlinc/include. libcomlinc.so is in /home/me/comlinc. And the compiler is gcc. Then the following operations will make the program run.

> gcc -c -Wall -ggdb test.c -I/home/me/comlinc/include
> gcc -o test.out test.o -lgsl -lgslcblas -lcomlinc -L/home/me/comlinc
> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/me/comlinc
> ./test.out



Kefei Lu 2007-12-03