libraries, creating them

Richard Goerwitz goer at sophist.uucp
Fri Feb 9 08:52:46 AEST 1990


I just installed f2c - the FORTRAN to C converter - without
major incident.  It requires libraries to be installed, though,
and the makefile for them sets utilizes link options I'm not
familiar with.  The lines in question read:

# compile, then strip unnecessary symbols
.c.o:
	cc -O -c -DSkip_f2c_Undefs $*.c
	ld -r -x $*.o
	mv a.out $*.o

This looks to me as if it were saying (playing Xenix for a mo-
ment):

        cc -O -c firstfile.c -Zl restofthefiles.c -r or whatever...

but I'm not yet totally sure.  Could someone more familiar with
how these things are done in the various flavors of Unix perhaps
shed some light on this situation?

   -Richard L. Goerwitz              goer%sophist at uchicago.bitnet
   goer at sophist.uchicago.edu         rutgers!oddjob!gide!sophist!goer



More information about the Comp.unix.xenix mailing list