Using lfs svn-20130320

I get the error below at chapter 5.5. gcc-4.7.2 - pass 1.

If I omit "--with-native-system-header-dir=/tools/include", then things fail 
looking for $LFS/usr/include and if I create $LFS/tools/include, then things 
fail looking for headers which have not yet been installed to 
$LFS/tools/include.

I would have thought "--without-headers" would have prevented this behavior, 
but apparently not.

Any suggestions would be gratefully received

John
----------

../gcc-4.7.2/configure --target=$LFS_TGT --prefix=/tools --with-sysroot=$LFS 
--with-newlibc --without-headers --with-local-prefix=/tools 
--with-native-system-header-dir=/tools/include --disable-nls --disable-shared 
--disable-multilib --disable-decimal-float --disable-threads 
--disable-libmudflap --disable-libssp --disable-libgomp --disable-libquadmath 
--enable-languages=c --with-mpfr-include=$(pwd)/../gcc-4.7.2/mpfr/src 
--with-mpfr-lib=$(pwd)/mpfr/src/.libs

make
...
The directory that should contain system headers does not exist:
  /mnt/lfs/tools/include
make[2]: *** [stmp-fixinc] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build'
make: *** [all] Error 2

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to