+ echo Building for --target=arm-linux, --prefix=/home/liao/download/tool-chain/gcc-4.1.0-glibc-2.3.2/arm-linux Building for --target=arm-linux, --prefix=/home/liao/download/tool-chain/gcc-4.1.0-glibc-2.3.2/arm-linux + test -z linux-libc-headers-2.6.12.0 + echo Copy sanitized headers Copy sanitized headers + cd /home/liao/download/crosstool-0.43/build/arm-linux/gcc-4.1.0-glibc-2.3.2/linux-libc-headers-2.6.12.0 + mkdir -p /home/liao/download/tool-chain/gcc-4.1.0-glibc-2.3.2/arm-linux/arm-linux/include + test -z linux-libc-headers-2.6.12.0 + cp -r include/linux /home/liao/download/tool-chain/gcc-4.1.0-glibc-2.3.2/arm-linux/arm-linux/include + cp -r include/asm-arm /home/liao/download/tool-chain/gcc-4.1.0-glibc-2.3.2/arm-linux/arm-linux/include/asm + cd /home/liao/download/crosstool-0.43/build/arm-linux/gcc-4.1.0-glibc-2.3.2 + echo Build binutils Build binutils + mkdir -p build-binutils + cd build-binutils + test ! -f Makefile + /home/liao/download/crosstool-0.43/build/arm-linux/gcc-4.1.0-glibc-2.3.2/binutils-2.16.1/configure --target=arm-linux --host=i686-host_pc-linux-gnu --prefix=/home/liao/download/tool-chain/gcc-4.1.0-glibc-2.3.2/arm-linux --disable-nls --with-sysroot=/home/liao/download/tool-chain/gcc-4.1.0-glibc-2.3.2/arm-linux/arm-linux creating cache ./config.cache checking host system type... i686-host_pc-linux-gnu checking target system type... arm-unknown-linux-gnu checking build system type... i686-host_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 gcc... no checking for cc... no configure: error: no acceptable cc found in $PATH
------解决方案-------------------- gcc没有被找到,可能是gcc的path没有给对,或者是32bit和64bit混杂的问题
------解决方案-------------------- checking for gcc... no checking for cc... no configure: error: no acceptable cc found in $PATH 1、系统没有GCC编译; 2、GCC编译器不在$PATH路径中。