Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux 在CentOS上编译Cilkplus GCC_Linux_Gcc_Centos_Redhat_Cilk - Fatal编程技术网

Linux 在CentOS上编译Cilkplus GCC

Linux 在CentOS上编译Cilkplus GCC,linux,gcc,centos,redhat,cilk,Linux,Gcc,Centos,Redhat,Cilk,在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-unknow

在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++编译器没有生成(或者没有正确生成)。您可以发布用于配置编译器的命令(以及标记)吗?

我想您的意思是:$HOME/gcc-6bca773/configure--prefix=$HOME/cilkplus install--enable languages=“c,c++”