Go to the first, previous, next, last section, table of contents.


2.1.3 Environment Variables

Once you have ftped and unpacked the distribution, you must initialize the following environment variables.

LIBPA_GROUP
group with read/write permission in LIBPA installation
LIBPA_ARCH
current machine architecture (cpu/OS combination)
SCC
safe compiler to produce debuggable object code
SLD
safe loader to produce debuggable binaries
UCC
unsafe compiler to produce optimized object code
ULD
unsafe loader to produce optimized binaries
RANLIB
ranlib
MAKE
make or gmake

The LIBPA_GROUP environment variable should be set to the name of the group which will have read/write permission in the LIBPA installation. We source the `libpa-1.3.0/etc/cshrc' or `libpa-1.3.0/etc/bashrc' scripts on our system to set these environment variables properly. If you want to source these scripts on your system, you will need to edit them first. At the very least, you will need to change the LIBPA_GROUP value. To verify that the LIBPA environment variables are set, you may execute the libpa-1.3.0/bin/checkenv.sh shell script.

Unless it is the only compiler available, we do not recommend using gcc to compile the modules because gcc has a proprietary implementation of the assert() macro. Once you compile a module using gcc, all executables based on that module must link `libgcc.a'. This is particularly annoying if you are trying to track down a compiler bug.


Go to the first, previous, next, last section, table of contents.