Ubuntu Linux上的Cilk构建错误

时间:2017-10-24 08:40:23

标签: linux gcc autotools autoconf cilk

我按照说明Build GCC cilkplus | CilkPlus。我尝试make并收到此错误:

checking target system type... x86_64-unknown-linux-gnu
checking LIBRARY_PATH variable... contains current directory
configure: error:
*** LIBRARY_PATH shouldn't contain the current directory when
*** building gcc. Please change the environment variable
*** and run configure again.
Makefile:3965: recipe for target 'configure-stage1-gcc' failed
make[2]: *** [configure-stage1-gcc] Error 1
make[2]: Leaving directory '/home/username/b-gcc'
Makefile:21970: recipe for target 'stage1-bubble' failed
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory '/home/username/b-gcc'
Makefile:894: recipe for target 'all' failed
make: *** [all] Error 2

有人可以帮忙吗?

1 个答案:

答案 0 :(得分:0)

我刚刚添加了GCC版本5及更高版本并且Cilk已经内置,所以我解决了这个问题。