gcbb 发表于 2010-7-15 23:04:40

1.30 ./configure 报错

gcbb@gcbb:~/toosl/ARM/skyeye/skyeye-1.3.0_rc1$ ./configure --target=arm-elf --prefix=/usr/local
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... arm-unknown-elf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... configure: error: in `/home/gcbb/toosl/ARM/skyeye/skyeye-1.3.0_rc1':
configure: error: cannot run C++ compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

这些信息 我不太理解
不过 就configure: error: cannot run C++ compiled programs. 这个错误 不知道我该咋办?

373061200 发表于 2010-7-20 10:15:08

指定一下host和build试一下

ksh 发表于 2010-7-25 20:23:24

回复 1# gcbb 的帖子

安装g++程序,即可。
页: [1]
查看完整版本: 1.30 ./configure 报错