bob@dallnix.uucp (Bob Best) (05/06/90)
Xenix GCC works great..Hats off to Steve Bleazard Here's a minor quibble: [as of patch including #pragma pack support] If you try to force the linker to search Slibc.a before a local library (say libfoo.a) using 'gcc -o foo -lc libfoo.a foo.o' you're out of luck... gcc will pass libfoo.a to linker prior to Slibc.a. C News in fact uses this trick in libstdio/Makefile...the result being that stdiock.stock and stdiock.fast are identical unless you modify the Makefile. Of course, stiock.fast fails on my Xenix 386. :-) -- Bob Best bob@dhw68k.cts.com
steve@robobar.co.uk (Steve Bleazard) (05/07/90)
In article <1990May5.204319.7007@dallnix.uucp> bob@dhw68k.cts.com (Bob Best) writes: > > Here's a minor quibble: [as of patch including #pragma pack support] > > If you try to force the linker to search Slibc.a before a local library > (say libfoo.a) using 'gcc -o foo -lc libfoo.a foo.o' you're out of luck... > gcc will pass libfoo.a to linker prior to Slibc.a. > This is a bug in the way I handled -l. The Xenix ld doesn't grok -l, so I had to modify the gcc driver. Unfortunately, I forgot about this case :-(. I'll fix this in the next patch kit. Steve. -- Steve.Bleazard@RoboBar.Co.Uk | Phone: +44 1 991 1142 x153 Snr Software Engineer, Robobar Ltd. | Fax: +44 1 998 8343 (G3) 22 Wadsworth Road, Perivale. | Middx., UB6 7JD ENGLAND. | ...!ukc!robobar!steve