Pregunta

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

¿Fue útil?

Solución

these are the references you are looking for:

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top