On Sun, 2016-01-10 at 19:28 +0000, Bernd Edlinger wrote: > 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? >
That won't work on our cross builds using --with-advance-toolchain=... options, correct? And don't we really need the native_system_header_dir to really point at the native system headers for tests against gmp.h etc.? Peter