Domanda

Would someone please explain what the -fPIC option does. I can't seem to find references to it, yet I've seen it in use. I believe it has something to do with the memory allocation/space the executable will use, but would appreciate something more tangible.

Cheers,
Nap

È stato utile?

Soluzione

these are the references you are looking for:

https://gcc.gnu.org/onlinedocs/gcc-4.0.4/gccint/PIC.html

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top