正在装LFS,当编译到Binutils时,出现一下错误
[code:1]
$ 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: *** [configure-intl] Error 1
[/code:1]
我的Gcc是3.3.2的,难道这个版本的gcc开关改名子了?
[code:1]
$ gcc --version
gcc (GCC) 3.3.2 20031022 (Red Hat Linux 3.3.2-1)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[/code:1]