使用Cygwin构建GCC:使用make时出错2-参数过多

问题描述

当我在Cygwin终端上运行make install以安装新的编译器以构建新的GCC编译器套件(包括C,C ++和标准C ++库)时,我收到以下消息:

make[1]: Entering directory '/home/[My name here]/build-gcc'
/bin/sh ../gcc-10.2.0/mkinstalldirs /usr/local /usr/local
/bin/sh: line 0: test: too many arguments
make[2]: Entering directory '/home/[My name here]/build-gcc/fixincludes'
make[2]: *** No rule to make target 'install'.  Stop.
make[2]: Leaving directory '/home/[My name here]/build-gcc/fixincludes'
make[1]: *** [Makefile:3813: install-fixincludes] Error 2
make[1]: Leaving directory '/home/[My name here]/build-gcc'
make: *** [Makefile:2400: install] Error 2

在以上消息中,我用[我的名字在这里]替换了我的名字。我有一个 。 -符号。我得到的错误与此有关吗? (我在其他地方遇到了问题,可以通过更改用户目录的名称解决) 我使用的是64位Windows 10 Lenovo e495 ThinkPad。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)