Hi, all; Sorry to bug all of you again. I've successfully built Binutils 2.23.1 GCC 4.7,2 Linux-kernel 3.6.10 Glib 2.16.0
However, is it a must for me to proceed to the pass 2 of binutils and gcc? I'm now following "Pass 2 of Binutils " http://www.linuxfromscratch.org/lfs/view/stable/chapter05/binutils-pass2.html the following step *CC=$LFS_TGT-gcc \* *AR=$LFS_TGT-ar \* *RANLIB=$LFS_TGT-ranlib \* *../binutils-2.22/configure \* * --prefix=/tools \* * --disable-nls \* * --with-lib-path=/tools/lib* brings me error messages: *lfs@peijia-GA-870A-UD3:/mnt/lfs/sources/binutils-build$ CC=$LFS_TGT-gcc \* *> AR=$LFS_TGT-ar \* *> RANLIB=$LFS_TGT-ranlib \* *> ../binutils-2.23.1/configure \* *> --prefix=/tools \* *> --disable-nls \* *> --with-lib-path=/tools/lib* *checking build system type... i686-pc-linux-gnu* *checking host system type... i686-pc-linux-gnu* *checking target system type... i686-pc-linux-gnu* *checking for a BSD-compatible install... /usr/bin/install -c* *checking whether ln works... yes* *checking whether ln -s works... yes* *checking for a sed that does not truncate output... /bin/sed* *checking for gawk... gawk* *checking for gcc... i686-lfs-linux-gnu-gcc* *checking for C compiler default output file name... a.out* *checking whether the C compiler works... configure: error: in `/mnt/lfs/sources/binutils-build':* *configure: error: cannot run C compiled programs.* *If you meant to cross compile, use `--host'.* *See `config.log' for more details.* So, my question now is: is Pass 2 of binutils a must?? Cheers Pei -- Pei JIA Email: [email protected] cell: +1 604-362-5816 Welcome to Vision Open http://www.visionopen.com
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
