0
我得到了一個錯誤,而在CentOS 7編譯Cilkplus-GCC在CentOS
我可以張貼我的config.log(只是有點太大了,這個帖子comiling英特爾CilkPlus - 如果它是有用的,我將發佈它)
這裏控制檯輸出的最後幾行:
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
誰能幫助我?我只是不知道如何解決這個問題。
我的意思是這樣的: $ HOME/gcc-6bca773/configure --prefix = $ HOME/cilkplus-install --enable-languages =「c,C++」 – GrayGhost93 2014-11-24 19:06:48