Question

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

Was it helpful?

Solution

these are the references you are looking for:

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top