RE: default search path for headers

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

 



I believe /usr/include is _always_ in the search path unless you give
the -nostdinc command line option, which tells GCC not to include the
standard search paths.  If you use this option, however, you will have
to take care to add back in on the command line all the GCC include
paths that this drops...

Cheers,
Lyle

-----Original Message-----
From: gcc-help-owner@xxxxxxxxxxx [mailto:gcc-help-owner@xxxxxxxxxxx] On
Behalf Of Chris Croswhite
Sent: Tuesday, January 27, 2004 1:06 AM
To: gcc-help@xxxxxxxxxxx
Subject: default search path for headers

I need to understand how to change the default include search path for
gcc when one uses the <> system context for header files.  I need to
create a gcc install that I can use across multiple different distros of
linux and still use the same headers and libs.  So I configured gcc
with:



[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