Next: Types and Macros Up: Programmer's Reference for the Previous: Introduction

Compiling and Linking

The library is libbicpl.a and is available in the directory /usr/local/lib. The relevant include files are in the directory /usr/local/include. Both of these directories are usually already in the compiler and loader search paths, so the command line need not specify the paths:


        cc -prototypes test_bicpl.c -c

Source files which make calls to BIC Programming Library functions must include the corresponding header file:


        #include  <bicpl/bicpl.h>

In order to link with the BIC Programming Library , the relevant libraries must be specified:


        cc test_bicpl.o  -o test_bicpl \
           -lbicpl -lvolume_io -lminc -lnetcdf -lm -lsun -lmalloc
See the documentation for the BIC Volume IO Library for more information on the list of libraries on the link line.



Next: Types and Macros Up: Programmer's Reference for the Previous: Introduction


david@pet.mni.mcgill.ca
Fri Feb 17 15:40:04 EST 1995