11

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

gone
  • 1,079
  • 5
  • 13
  • 31

1 Answers1

2

these are the references you are looking for:

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

Bots Fab
  • 139
  • 1
  • 9