This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH configure,config.gcc] Fix for PR69153 to allow config.gcc to set target_header_dir
- From: Bernd Edlinger <bernd dot edlinger at hotmail dot de>
- To: Peter Bergner <bergner at vnet dot ibm dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, David Edelsohn <dje at gcc dot gmail dot com>, Michael Meissner <meissner at linux dot vnet dot ibm dot com>
- Date: Sun, 10 Jan 2016 19:28:41 +0000
- Subject: Re: [PATCH configure,config.gcc] Fix for PR69153 to allow config.gcc to set target_header_dir
- Authentication-results: sourceware.org; auth=none
- Authentication-results: gcc.gnu.org; dkim=none (message not signed) header.d=none;gcc.gnu.org; dmarc=none action=none header.from=hotmail.de;
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:23
Hi Peter,
> @@ -4167,6 +4167,7 @@
> -d "/opt/$with_advance_toolchain/bin/." -a \
> -d "/opt/$with_advance_toolchain/include/."; then
>
>+ target_header_dir=`find /opt/$with_advance_toolchain/ -path '*/include/features.h' | sed -e 's#/features.h##'`
> tm_file="$tm_file ./advance-toolchain.h"
> (at="/opt/$with_advance_toolchain"
> echo "/* Use Advance Toolchain $at */"
why can't you just set native_system_header_dir instead?
Bernd.