After I run the "./configure --prefix=/usr --enable-cxx", my machine reports:
checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking ABI=32 checking compiler gcc -m32 -O2 -pedantic -fomit-frame-pointer ... no checking compiler gcc -O2 -pedantic -fomit-frame-pointer ... no checking compiler icc -no-gcc ... no checking whether cc is gcc... yes checking compiler cc -m32 -O2 -pedantic -fomit-frame-pointer ... no checking compiler cc -O2 -pedantic -fomit-frame-pointer ... no configure: error: could not find a working compiler, see config.log for details And I have put the config.log at https://gist.github.com/whilgeek/e303b9098beb97fe3fb1 Thanks for anyone's help. -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
