This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Christer Solskogen<christer.solskogen@gmail.com> writes:
On Fri, Mar 9, 2012 at 5:20 PM, Ian Lance Taylor<iant@google.com> wrote:Christer Solskogen<christer.solskogen@gmail.com> 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.
-- chs
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |