ld help reqd.

Venkatakrishnan, V V.Venkatakrishnan@channels.usa.xerox.com
Fri Nov 2 16:53:00 GMT 2001


Hi,
	How do I get this...
gcc objfile.o '-Wl,-(' -lLib1 -lLib2 -lLib3 -lLib4 '-Wl,-)' -o OutPutFile
	to work on Sun Solaris 8.  It works fine with gcc on cygwin using ld
version 2.11.90 (with BFD 2.11.90)
	Currently doing this on Solaris 8 gives me errors saying...
ld: illegal option -- (
ld: illegal option -- -
ld: illegal option -- )
	The version of ld I'm using on Solaris is...
ld: Software Generation Utilities - Solaris-ELF (4.0)

	Do I have to use some other equivalent switches for this ver. of ld
on Solaris?

Regards



More information about the Gcc-help mailing list