HP/Compaq Tru64 linker semantics
Andrew Pinski
pinskia@physics.uc.edu
Wed Apr 28 22:43:00 GMT 2004
On Apr 28, 2004, at 16:37, Rainer Orth wrote:
> Jim Wilson <wilson@specifixinc.com> writes:
>
>> Karl Vogel wrote:
>>> I was wondering what the general opinion is.. follow GNU ld as close
>>> as
>>> possible? Or follow the standard way of the platform?!
>>
>> I would suggest that we should follow what the platform does. People
>> porting to Tru64 will expect gcc to work the same way as the native
>> compiler, and if it doesn't, then packages with builtin Tru64
>> assumptions may fail.
>
> Fully agreed, even though this case of local vs. vendor supplied libdb
> has
> bitten me as well. Even though this default (searching for all shared
> libraries before the static ones) is highly unusual on Unix systems, we
> should follow the vendor here so GCC users don't get another surprise
> when
> using GCC.
I should note that this is the same as Darwin's linker acts and there
is no way to
change it for that target.
Thanks,
Andrew Pinski
More information about the Gcc
mailing list