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

rupert THURNER rupert at opencsw.org
Thu Dec 31 18:34:01 CET 2009


On Thu, Dec 31, 2009 at 18:29, Ben Walton <bwalton at opencsw.org> wrote:
> 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.

i am using GARCOMPILER = GCC, is this different?

i think the options are hardcoded, yes. therefor i thought gld might
fix this - and it would be easy :)

rupert.



More information about the maintainers mailing list