|
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make[1]: *** [configure-libiberty] 错误 1
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build'
make: *** [all] 错误 2
lfs6.3宿主是suse10.2第一次编译binutils
config.log
configure:2187: checking whether compiler driver understands Ada
configure:2219: checking how to compare bootstrapped objects
configure:2317: checking for correct version of gmp.h
configure:2330: gcc -B/usr/bin/ -c -g -O2 conftest.c 1>&5
configure:2343: checking for MPFR
configure:2356: gcc -B/usr/bin/ -o conftest -g -O2 conftest.c -lmpfr -lgmp 1>&5
configure:2350:18: error: mpfr.h: No such file or directory
configure: In function 'main':
configure:2352: error: 'mpfr_t' undeclared (first use in this function)
configure:2352: error: (Each undeclared identifier is reported only once
configure:2352: error: for each function it appears in.)
configure:2352: error: expected ';' before 'n'
configure:2352: error: 'n' undeclared (first use in this function)
configure: failed program was:
#line 2348 "configure"
#include "confdefs.h"
#include <gmp.h>
#include <mpfr.h>
int main() {
mpfr_t n; mpfr_init(n); |
|