0

在 CentOS 7 上编译 Intel CilkPlus 时出现错误。

我可以发布我的 config.log (对于这篇文章来说有点太大了 - 如果它有用,我会发布它)

这里是控制台输出的最后几行:

checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... configure: error: in `/home/johannes/b-gcc/x86_64-unknown-linux-gnu/32/libcilkrts':
configure: error: cannot run C++ compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make[1]: *** [configure-target-libcilkrts] Fehler 1
make[1]: Leaving directory `/home/johannes/b-gcc'
make: *** [all] Fehler 2

谁能帮我?我只是不知道如何解决这个问题。

4

1 回答 1

0

看起来 C++ 编译器未构建(或未正确构建)。您能否发布您用于配置编译器的命令(连同标签)?

于 2014-11-24T02:54:29.247 回答