1
Three makefiles have been provided for Linux:
3
makefile.gcc GNU C (gcc)
4
makefile.icc Intel C (icc)
5
makefile.pgcc Portland Group C (pgcc)
7
To create libvaxdata.a from here:
9
# make -f makefile.xxx [ all | libvaxdata | clean ]
11
substituting gcc, icc, or pgcc for xxx. The default make target is all.
12
The library and all object files will be written to a subdirectory named
13
for the system architecture returned by "uname -m".
15
To link a C program with the library:
17
# xxx -o program program.o -lvaxdata -Lhere/arch
19
substituting gcc, icc, or pgcc for xxx, and the path to the library for
20
here/arch (assuming it has not been moved or copied somewhere else).
22
To link a Fortran program with the library, substitute g77, ifort, or pgf77
23
(pgf90, pgf95) for xxx, plus the path to the library for here/arch.
b'\\ No newline at end of file'