Le 12/03/2012 10:18, Andrew Benton a écrit : > On Mon, 12 Mar 2012 00:31:41 +0000 > Jeremy Huntwork<jhuntw...@lightcubesolutions.com> wrote: > >>> On Fri, 2012-03-02 at 00:39 +0000, Andrew Benton wrote: >>> I'm still no nearer to figuring out why I get this error. Trying to >>> follow Jeremy's new newlib build method fails for me at the first pass >>> of gcc: >>> checking for stdint.h... no >>> checking for unistd.h... no >>> checking for dlfcn.h... no >>> checking for objdir... .libs >>> checking if /mnt/lfs/sources/gcc-build/./gcc/xgcc >>> -B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/x86_64-lfs-linux-gnu/bin/ >>> -B/tools/x86_64-lfs-linux-gnu/lib/ -isystem /tools/x86_64-lfs-linux- >> Wait, what? Bootstrapping the gcc build should not be happening. If >> you are cross compiling as you should be then you can't bootstrap. >> Please double check your environment settings to make sure that >> LFS_TGT is set and different than the output of ./config.guess. > I've only just woken up so I've not had time to check, but looking at > the output above I'm pretty sure ${LFS_TGT} is set because I can see > lots of `x86_64-lfs-linux-gnu'. I also think it's doing a bootstrap > build because it's using xgcc. So are you saying that passing > --target=x86_64-lfs-linux-gnu to gcc's configure should have the effect > of passing --disable-bootstrap? We use --disable-bootstrap the second > time we install gcc, but not the first. > > Andy Andy, I think the fragment you have sent is from libgcc's configure. libgcc is always built with xgcc. When cross-compiling, this makes sense since libgcc is a library for the target.
Regards Pierre -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page