|
|
输入../binutils-2.15.94.0.2.2/configure --prefix=/tools --disable-nls
只得到了如下的输出:
creating cache ./config.cache
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
checking build system type... i686-pc-linux-gnulibc1
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
但是我得gcc版本是:
gcc (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
下面是export的输出内容
declare -x HOME="/home/lfs"
declare -x LC_ALL=" OSIX"
declare -x LFS="/mnt/lfs"
declare -x OLDPWD="/mnt/lfs/sources"
declare -x PATH="/tools/bin:/bin:/usr/bin"
declare -x PS1="\${debian_chroot:+(\$debian_chroot)}\\u@\\h:\\w\\\$ "
declare -x PWD="/mnt/lfs/sources/binutils-build"
declare -x SHLVL="1"
declare -x TERM="xterm"
我找不到原因,现在无法继续下去.希望高手给予指导
谢谢 |
|