gpt4 book ai didi

linux - 在 CentOS 上编译 Cilkplus-GCC

转载 作者:太空宇宙 更新时间:2023-11-04 03:48:44 24 4
gpt4 key购买 nike

我在 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

有人可以帮助我吗?我只是不知道如何解决这个问题。

最佳答案

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

关于linux - 在 CentOS 上编译 Cilkplus-GCC,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27089311/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com