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 (22 lines) | stat: -rw-r--r-- 746 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
Two makefiles have been provided for Solaris:

   makefile.gcc    GNU C (gcc)
   makefile.cc     Sun C (cc)

To create libvaxdata.a from here:

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

substituting gcc or cc 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 -p".

To link a C program program.o with the library:

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

substituting gcc or cc 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 or f77 for xxx,
plus the path to the library for here/arch.