如何解决 Ubuntu Linux 上的 LIBRARY_PATH Cilk 构建错误?
How do I resolve a LIBRARY_PATH Cilk build-error on Ubuntu Linux?
我正在按照 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
我刚刚添加了 GCC 版本 5 及更高版本,并且其中内置了 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
我刚刚添加了 GCC 版本 5 及更高版本,并且其中内置了 Cilk,所以我通过这种方式解决了问题。