打印

1.30 ./configure 报错

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. 这个错误 不知道我该咋办?

TOP

指定一下host和build试一下

TOP

回复 1# gcbb 的帖子

安装g++程序,即可。

TOP