[comp.unix.xenix] libraries, creating them

goer@sophist.uucp (Richard Goerwitz) (02/09/90)

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@uchicago.bitnet
   goer@sophist.uchicago.edu         rutgers!oddjob!gide!sophist!goer