next up previous
Next: Silicon Graphics Up: Sun workstations Previous: Sun workstations

Compiling the library

The Makefile.SunOS4 and Makefile.INC contain the description to build the library. The library functions require the global defines SPRLIB and SUN (or SUN5 for machines running Solaris) to be set when compiling the source code. See the CFLAGS in the Makefile. The library can be found in the lib directory and is called spr_sun4.a. A shared library libspr_sun4.so.1.0 can be made from the object files in that library by using make shared. For machines running Solaris, the makefile is called Makefile.Solaris and the libraries are spr_sun5.a and libspr_sun5.so.1.0, respectively. Note: Makefile.SunOS4.DBG (or Makefile.Solaris.DBG) creates a library compiled with -g which can be used for debugging with a debugger (dbx/dbxtool/xdbx/gdb/xxgdb/ddd). The debug version of the library is called sprg_sun4.a (or sprg_sun5.a).



Created by LaTeX2HTML on Thu Mar 5 16:02:50 MET 1998