PATCH RFA: New configure option --with-native-system-header-dir

Ian Lance Taylor
Fri Oct 7 22:49:00 GMT 2011

I would like to bring Simon's patch for the
--with-native-system-header-dir configure option from the
google/integration branch into gcc mainline.  This patch permits
changing the system header directory from /usr/include to something
else.  It's mainly useful in conjunction with sysroot, so that the
header files don't have to live in usr/include under the sysroot.

Simon's original patch:

Bootstrapped and tested on x86_64-unknown-linux-gnu.  OK for mainline?


2011-10-07  Simon Baldwin  <>

	* Add --with-native-system-header-dir option.
	* configure: Rebuild from
	* Support --with-native-system-header-dir.
	* doc/install.texi: Document --with-native-system-header-dir.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 4852 bytes
Desc: patch
URL: <>

More information about the Gcc-patches mailing list