Re: Adding include directories (-I)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sebastian Biallas <sb@xxxxxxxxxxx> writes:

> My question is: Which command line switch of gcc is preferred for adding
> include directories?

-I

> And: What's the reason that -I modifies system
> headers includes?

It doesn't.  It just changes the search path used to find header
files.

If you want to do something more complex, see the documentation for
-iquote and -isystem.  They probably don't do what you want, but they
may be instructive.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux