next up previous contents index
Next: Building a module Up: Installing CERNLIB software Previous: Building a simple

Building a complex library

A complex library, such as KERNLIB or PACKLIB, may be built in one go, as shown above, or component by component. The former is useful when one wishes to install a new release of CERNLIB, or install CERNLIB from scratch. The latter is more appropriate if only one or a few packages have changed.

For example, if a routine in ZEBRA has been modified, we may rebuild PACKLIB using the following steps:

  1. make zebra
  2. makepack -l packlib

The first command will cause the ZEBRA source code to be extracted, split and compiled. The second will rebuild PACKLIB from all of the appropriate object files.


Janne Saarela
Wed Mar 29 15:50:22 METDST 1995