Re: Change GLIBC_DYNAMIC_LINKER

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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]

Add to Google