- To: Christer Solskogen <christer.solskogen@xxxxxxxxx>
- Subject: Re: Change GLIBC_DYNAMIC_LINKER
- From: Ian Lance Taylor <iant@xxxxxxxxxx>
- Date: Fri, 09 Mar 2012 14:44:44 -0800
- Cc: gcc-help@xxxxxxxxxxx
- Comment: DKIM? See http://www.dkim.org
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1331937913; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Received:From:To:Cc:Subject:References:Date:In-Reply-To: Message-ID:User-Agent:MIME-Version:Content-Type: Content-Transfer-Encoding:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=0U4HojVTEOXUaRjxYj62SQDFAgU=; b=Rd5YyntVKLeD8Dx j24fnotBAyUosi3BB73y0dREHX/FP/u8sqotkbNMYH/+znHSqpAJzTHGHxsDLTP7 4ekwRDDC91JXycOmKLR0jm7OMMqPY6LUvrpDnmunuowQyHwvlqmRhuXcCmIp5DAz /iUqilABc1EYXus1xibtbax/ybug=
- In-reply-to: <CAMVU60bd1uvJGmp-uENHAxbwda=UC=C6W-bHs=mZE=pF-n3zqA@mail.gmail.com> (Christer Solskogen's message of "Fri, 9 Mar 2012 21:49:42 +0100")
- User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)
Christer Solskogen <christer.solskogen@xxxxxxxxx> writes:
> On Fri, Mar 9, 2012 at 5:20 PM, Ian Lance Taylor <iant@xxxxxxxxxx> wrote:
>> Christer Solskogen <christer.solskogen@xxxxxxxxx> writes:
>>
>>> Is there a way of setting GLIBC_DYNAMIC_LINKER to something else that
>>> does not include to manually change the linux.h files?
>>
>> When you link you can use -Wl,-I,/path/to/dynamic/linker . There is no
>> way to change the default, though, other than editing the source code.
>>
>
> And then change the spec manually afterwards, right? Otherwise it will
> still link to the one set in linux.h when using that compiler.
I'm not sure exactly what you mean, but, probably yes. What matters is
what the compiler passes to the linker.
Ian
[Linux C Programming]
[Linux Kernel]
[eCos]
[Fedora Development]
[Fedora Announce]
[Autoconf]
[The DWARVES Debugging Tools]
[Yosemite Campsites]
[Yosemite News]
[Linux GCC]