Le 23/04/2012 22:38, Jeremy Huntwork a écrit : > 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. Exact. Pass 1 pretends building a cross compiler, which does not have /usr/include in its search path (IIRC).
Pierre -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page