【发布时间】:2015-01-21 05:58:14
【问题描述】:
在 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
谁能帮帮我?我只是不知道如何解决这个问题。
【问题讨论】:
标签: linux gcc centos redhat cilk