On Mon, 23 Apr 2012 21:38:19 +0100 Jeremy Huntwork <jhuntw...@lightcubesolutions.com> wrote:
> On 4/23/12 4:33 PM, Matt Burgess wrote: > > The fix for this is to add > > --with-native-system-header-dir=/tools/include to GCC's pass1 and pass2 > > builds so that it doesn't look at /usr/include at all. > > For the current build method, I think it's only required for pass 2. > Given the difference of our pass 1 builds, I'm uncertain of the effect > of passing that switch in for pass 1 with the current method. I believe > Pierre confirmed it working added to pass2 only. If you only add --with-native-system-header-dir=/tools/include to the second pass of gcc then you will still need --without-ppl and --without-cloog for the second pass of gcc. I get a build failure if I try to build without --with-native-system-header-dir=/tools/include in the first pass of gcc as the first, cross gcc is still searching /usr/include and so when I configure the second pass of gcc it finds the ppl headers, tries to enable ppl support and then fails as it can't link to libppl on the host system. Andy -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page