Linking with ComLinC and GSL
After successfully compiling the code, it needs to be linked with ComLinC and GSL. To link with GSL, two libraries are needed to be specified, libgsl and libgslcblas. Similarly, ComLinC's library is libcomlinc. So, to link with those libraries, pass the following arguments to the linker: -lgsl -lgslcblas -lcomlinc
.
If any of the above libraries are not installed in system library path, an extra argument is need: -Llibdir
, where libdir
is the directory where those libraries locate.
Kefei Lu
2007-12-03