Next: , Previous: The Standard Template Library, Up: Installing and using the library



2.3 Unix-like systems

The Ringing Class Library package uses the GNU tool autoconf to take away the problems of coping with differences between platforms. This means that you should be able to change to the top-level directory of the source distribution and type

     ./configure

to configure the package. This will determine the characteristics of your C++ compiler and create a file ringing/common.h which defines various symbols used in the compilation. This file is also installed with the rest of the class library, so that the installed header files will have access to it.

You can control many aspects of how the package is compiled and installed by passing arguments to the configure script; for example, you can control where the library is installed (for example, in /usr/lib or /usr/local/lib). For details of all the options which are accepted, type

     ./configure --help

in the top-level directory of the distribution. Some more instructions for using the configure script are given in the file INSTALL.

On most platforms, it should be possible to build and install either static or dynamic libraries, or both.