|
|
发表于 2007-7-10 23:32:32
|
显示全部楼层
Post by x_crdjn
请勿轻易拨打消息中的陌生电话,防止话费损失。
★塵~風★(17814294) 14:46:32
mkdir -v ../binutils-build
cd ../binutils-build
../binutils-2.16.1/configure --prefix=/tools --disable-nls
make
make -C ld clean
make -C ld LIB_PATH=/tools/lib
都正常
cp -v ld/ld-new /tools/bin
说ld/ld-new 没有这个文件
然后继续编译 安装 GCC
mkdir -v ../gcc-build
cd ../gcc-build
../gcc-4.0.3/configure --prefix=/tools \
--with-local-prefix=/tools --disable-nls --enable-shared \
--enable-languages=c
出现:
lfs:/mnt/lfs/sources/gcc-build$ ../gcc-4.0.3/configure --prefix=/tools --with-local-prefix=/tools --disable-nls --enable-shared --enable-language=c
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build 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 gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
请问这是怎么回事?
我也碰到过这个问题 后来好象是因没有创建cc到gcc的软连接造成的 |
|