|
|
出错信息:
root:/sources/binutils-build# ../binutils-2.15.94.0.2.2/configure --prefix=/usr\
> --enable-shared
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... /tools/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.
还有 我在第6章 Glibc测试的时候也出现了问题,但我没有在意,好象是 pthread_cancel之类的。
6.12. 再次调整工具链的时候
root:/sources/binutils-build# echo 'main(){}' > dummy.c
root:/sources/binutils-build# cc dummy.c
/tools/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
麻烦知道的大哥帮我诊断下。 |
|