Compiling siolib

A script called config has been provided that configures the makefiles distributed with siolib for either Digital Unix or Linux. It has the following syntax:

% ./config arch [nasd_root [debug]]

The only required argument is the first, which specifies which architecture to configure for. If config is run without arguments, it prints the list of supported architectures and exits.

The optional second argument is the base of the NASD install tree. This defaults to ../nasd, which is probably not correct if you are running straight out of an unpacked NASD 1.0 release, which unpacks itself as nasd_1.0. We suggest that you specify the path to the NASD tree explicitly.

The optional third argument turns on additional debugging output inside of siolib. It currently does not matter what value is given for the third argument; if it is present at all, additional compilation flags are added to the appropriate places in the makefile that config generates.

config checks to make sure that the nasd_root argument is valid, and the generates makefile appropriately. If a makefile already exists, it is copied to makefile.bak first, to avoid losing changes made locally.

Once config has been run, you build siolib by typing make. There should be no errors or warnings. After make has completed, you are ready to try running the command-line programs.


Last modified: Wed Feb 17 18:56:06 EST 1999