This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

ld help reqd.

[Get raw message]
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]