Re: Change GLIBC_DYNAMIC_LINKER
|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
On 9/3/2012 11:44 PM, Ian Lance Taylor wrote:
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.
I've seen some mentions about --with-runtime-root-prefix - and that's probably what I'm looking for. The patch(1) I've seen is about one year old and I can't find anything that matches that diff in any of the google branches. Maybe you know something about it?
1) http://patchwork.ozlabs.org/patch/80538/ -- chs