This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
ld help reqd.
- To: "'gcc-help at gcc dot gnu dot org'" <gcc-help at gcc dot gnu dot org>
- Subject: ld help reqd.
- From: "Venkatakrishnan, V" <V dot Venkatakrishnan at channels dot usa dot xerox dot com>
- Date: Tue, 13 Nov 2001 16:47:52 -0500
[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