what does -fno-pic do ?
Jonathan Wakely
jwakely.gcc@gmail.com
Sun Jul 10 16:49:00 GMT 2016
On 10 July 2016 at 15:18, Yubin Ruan wrote:
> Hi,
> I am reading some OS kernel codes, and I find that in the Makefile used
> to build the kernel, there is a **-fno-pic** flag. I totally don't
> understand what that mean. I try to find some description from the man pages
> but can find no direct description about that flag(same for the **-fpic**
> flags).
Look harder:
https://gcc.gnu.org/onlinedocs/gcc-6.1.0/gcc/Code-Gen-Options.html#index-fpic-1190
Please use the gcc-help list for questions like this, this list is for
discussion the development of gcc itself, not for questions about
using gcc.
More information about the Gcc
mailing list