This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Wrong dynamic-linker used on Solaris 7/x86
- To: philb at gnu dot org
- Subject: Re: Wrong dynamic-linker used on Solaris 7/x86
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Sun, 20 May 2001 10:25:30 -0700
- Cc: aoliva at redhat dot com, binutils at sources dot redhat dot com, gcc at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <E151UuD-0005Kv-00@kings-cross.london.uk.eu.org>
>>>>> "Philip" == Philip Blundell <philb@gnu.org> writes:
>> correctly even with older versions of GNU ld. Another option
>> is to implement -I as an alias to --dynamic-linker on Solaris;
>> this would allow gcc to use the same LINK_SPEC, but would
>> require a fixed GNU ld. The plus of this option is that one
>> could switch between GNU ld and Solaris ld with -B switches, as
>> it is possible today.
Philip> I think this is the way to go.
Me too -- but I also think that you should fix GNU ld to work like the
Solaris linker by default. I'm not sure why automatic detection
wouldn't work -- doesn't Solaris set an OS flag in the ELF header?
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com