This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
question about -fPIC and 32-bit x86 (on linux-elf)
- From: Jonathan Wilson <jonwil at tpgi dot com dot au>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 12 Aug 2004 15:36:53 +0800
- Subject: question about -fPIC and 32-bit x86 (on linux-elf)
It is my understanding that on i?86-pc-linux-elf, code is already position
independant.
What does -fPIC give you that not using -fPIC doesnt give you?
Do you need to use -fPIC for ELF shared libraries on i?86-pc-linux-elf?