File: readme

package info (click to toggle)
dnprogs 2.43.2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,936 kB
  • ctags: 3,872
  • sloc: ansic: 24,686; cpp: 10,608; makefile: 769; sh: 551; awk: 13
file content (23 lines) | stat: -rw-r--r-- 822 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Three makefiles have been provided for Linux:

   makefile.gcc    GNU C (gcc)
   makefile.icc    Intel C (icc)
   makefile.pgcc   Portland Group C (pgcc)

To create libvaxdata.a from here:

   # make -f makefile.xxx [ all | libvaxdata | clean ]

substituting gcc, icc, or pgcc for xxx.  The default make target is all.
The library and all object files will be written to a subdirectory named
for the system architecture returned by "uname -m".

To link a C program with the library:

   # xxx -o program program.o -lvaxdata -Lhere/arch

substituting gcc, icc, or pgcc for xxx, and the path to the library for
here/arch (assuming it has not been moved or copied somewhere else).

To link a Fortran program with the library, substitute g77, ifort, or pgf77
(pgf90, pgf95) for xxx, plus the path to the library for here/arch.