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]

Re: building non-shared dynamic binaries on x86-64 linux-elf


Mathieu Lacage wrote:

> What I am trying to do is generate a non-shared relocatable dynamic
> binary which means that I really don't want to use -fPIC and I was
> hoping that the dynamic linker would be able to finish relocating the
> final binary. Is this impossible on linux-elf-x86-64 ?

Yes, it is.  The fact that this works on 32-bit is something of an
historical accident.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]