【问题标题】:Compiling Cilkplus-GCC on CentOS在 CentOS 上编译 Cilkplus-GCC
【发布时间】: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


    【解决方案1】:

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

    【讨论】:

    • 我想你的意思是:$HOME/gcc-6bca773/configure --prefix=$HOME/cilkplus-install --enable-languages="c,c++"
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-11-03
    • 1970-01-01
    • 2018-09-13
    • 2015-11-21
    • 1970-01-01
    • 2015-01-14
    • 2016-11-12
    相关资源
    最近更新 更多