This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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] |
Specifically, I have a copy of the compiler, linker, etc. from Red Hat Enterprise Linux 4.x, and I want to run that toolchain on a newer platform in order to generate RHEL 4 binaries.
I want to tell the linker to use /oldroot/lib64/ld-linux-x86-64.so.2 as the dynamic linker at compile time, but I still want "/lib64/ld-linux-x86-64.so.2" to appear in the ELF header of the resulting executable (so that the "system" dynamic linker is used at run time).
So, am I missing an option to GNU ld?
If not, is this a feature the binutils maintainers would be willing to contemplate?
Cheers Ncik
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |