This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [google] Add --with-native-system-header-dir to specify the location of /usr/include
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: Simon Baldwin <simonb at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 26 Jan 2011 00:12:29 +0100 (CET)
- Subject: Re: [google] Add --with-native-system-header-dir to specify the location of /usr/include
- References: <20110125203347.5E03E1C656D@hpgntab-ubiq73.eem.corp.google.com>
On Tue, 25 Jan 2011, Simon Baldwin wrote:
> Index: gcc/doc/install.texi
> ===================================================================
> +If you specify the @option{--with-native-system-header-dir} option
> +then the compiler will search that directory within @var{dir} for
> +native system headers rather than the default @file{/usr/include}.
I am wondering, should this be
@option{--with-native-system-header-dir=@var{dir}}
? Otherwise, where is @var{dir} introduced?
Also, in the documentation of --with-native-system-header-dir= you
use dirname instead of dir which indeed seems to be common practice.
Gerald