|
|

楼主 |
发表于 2007-3-28 17:46:02
|
显示全部楼层
第 2 遍 gcc 过不去了
checking whether the c compile works ... configure:error :can not run c compiled programs
if you meant to cross compile ,use '--host'
see 'config.log' for details
Make : [configure-target-libstdc++-v3] Error 1
根据提示 ,让我察看 conif.log
里面有几个错误
configure:1976: checking whether gcc accepts -g
configure:2043: checking for gnatbind
configure:2108: checking whether compiler driver understands Ada
configure:2141: checking how to compare bootstrapped objects
configure:2214: checking for correct version of gmp.h
configure:2227: gcc -c -g -O2 conftest.c 1>&5
configure:2217:17: gmp.h: No such file or directory
configure: In function `main':
configure:2221: error: `choke' undeclared (first use in this function)
configure:2221: error: (Each undeclared identifier is reported only once
configure:2221: error: for each function it appears in.)
configure:2221: error: parse error before "me"
configure: failed program was:
#line 2216 "configure"
#include "confdefs.h"
#include "gmp.h"
int main() {
#if __GNU_MP_VERSION < 3
choke me
#endif
; return 0; }
我打算吧哪个代码注释掉 |
|