[comp.sys.sun] ld -u in SunOS 4.1 no longer works.

casper@fwi.uva.nl (Casper H.S. Dik) (07/02/90)

I've just upgraded to SunOS 4.1 and found that ld -u no longer works as it
previously did:

If you use 'ld -u  _getwd -o tmpfile -lc' , no output is generated.  In
general, if no non-library input files are specified on the commandline,
no output is created.

Work around: echo > empty.c ; cc -c empty.c ; ld empty.o -u .....

Is this a known problem? Is there a fix?

Casper H.S. Dik				VCP/HIP: +31205922022
University of Amsterdam     |		casper@fwi.uva.nl
The Netherlands             |		casper%fwi.uva.nl@hp4nl.nluug.nl