zhengfei 发表于 2003-7-14 11:01:35

LFS编译binutils的问题?

-bash-2.05b$ make LDFLAGS="-all-static"
Configuring in intl
loading cache .././config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking whether the C compiler (gcc -g -O2 -all-static) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
make: *** Error 1
-bash-2.05b$

用的是2.14

zhengfei 发表于 2003-7-14 16:03:56

我的系统是rh9,编译binutils-2.14出现上述问题,不加 LDFLAGS="-all-static"可以编译,
我换成binutils-2.13.2,没有任何问题通过,难道2.14就不行?

Dragonfly 发表于 2003-7-18 08:51:36

checking whether the C compiler (gcc -g -O2 -all-static) works... no

this is u problem. u use the same gcc to compile binutils 2.13.2?
页: [1]
查看完整版本: LFS编译binutils的问题?