|
楼主 |
发表于 2003-5-6 23:28:26
|
显示全部楼层
On a sidenote, the latest HJ binutils-2.13.90.0.18 reflect the latest
changes to the top level of the GNU tools build system. What this means in
practicality is that invoking configure only does a quick configure in the
top dir i.e. none of the subdirs (bfd, gas, ld etc) get configured. They
get configured during the make run. Unfortunately this breaks the LFS
build:-
checking for gcc... gcc -s
checking whether the C compiler (gcc -s -g -O2 -all-static) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
make: *** [configure-intl] Error 1
Obviously, the "-all-static" is fscking it up. The workaround is to do a:-
make configure-host
before the:-
make LDFLAGS=-all-static
so that all the subdirs get configured first.
When I see stuff like this, I start to lean back towards the stable FSF
binutils for LFS. Wish I could make up my mind! :-)
http://archive.linuxfromscratch. ... v/2003/02/0000.html |
|