This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: what does -fno-pic do ?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]