[csw-maintainers] how to use the gnu linker? or is there anything else what can be done?

Ben Walton bwalton at opencsw.org
Thu Dec 31 18:29:05 CET 2009


Excerpts from rupert THURNER's message of Thu Dec 31 11:56:01 -0500 2009:

Hi Rupert,

> c++ -shared -Wl,--soname=liblz.so.0 -o liblz.so.0.8-rc1 sh_decoder.o
> sh_encoder.o sh_lzlib.o
> /usr/ccs/bin/ld: illegal option -- -
> ld: warning: option -o appears more than once, first setting taken
> usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?] file(s)

I think what you're seeing here is actually some gcc options being
passed to the compiler regardless of the fact you're not using gcc.
These are likely hard coded in a Makefile somewhere.  I'd suggest
first trying GARCOMPILER = GCC4 before trying to make it use gld for
linking.  Trying to use gld will be an exercise in frustration, so
hopefully you don't need to go there.

Alternately, you can track down where the bad options sneak in and
correct that instead.

HTH.
-Ben
-- 
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302

GPG Key Id: 8E89F6D2; Key Server: pgp.mit.edu
Contact me to arrange for a CAcert assurance meeting.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.opencsw.org/pipermail/maintainers/attachments/20091231/93901a21/attachment-0002.asc>


More information about the maintainers mailing list