I am attempting to install Cygwin
as a precursor to installing gcc 6.3.0
on a Windows 10
64-bit machine. I am following instructions I found here.
我试图安装Cygwin作为在Windows 10 64位机器上安装gcc 6.3.0的先驱。我按照我在这里找到的指示。
When I use the following line to install Cygwin
packages (Step 2 at the above link):
当我使用以下行安装Cygwin包时(上面的链接中的步骤2):
C:\cygwin64>setup-x86_64.exe -q -P wget -P gcc-g++ -P make -P diffutils -P libmpfr-devel -P libgmp-devel -P libmpc-devel
I receive the following message in the Windows command window:
我在Windows命令窗口中收到以下消息:
C:\cygwin64>note: Hand installation over to elevated child process.
_
The cursor is positioned under the C
in C:\cygwin64
as shown above and is flashing. It has remained that way for approximately one hour.
光标位于C:\ cygwin64中的C下,如上所示,并且正在闪烁。它一直保持这种方式大约一个小时。
Does this simply mean that the computer is taking a long time to install Cygwin
packages. Or does it mean the Cygwin
installation has failed and I need to try something else? Or is the computer waiting for me to type something into the Windows command window from the keyboard? If the third possibility is the case, what am I supposed to type?
这是否意味着计算机需要很长时间才能安装Cygwin软件包。或者这是否意味着Cygwin安装失败了,我需要尝试其他的东西?或者计算机是否在等待我从键盘输入Windows命令窗口?如果第三种可能性是这种情况,我应该输入什么?
The instructions at the link above seem to be quite thorough, but do not mention this message. Nor can I locate any suggestions by searching the internet. The instructions also suggest the installation may take as little as 15 minutes. So, after waiting an hour I am thinking there is something wrong.
上面链接中的说明似乎相当彻底,但没有提到此消息。我也无法通过搜索互联网找到任何建议。说明书还建议安装可能只需15分钟。所以,等了一个小时后,我觉得有些不对劲。
Thank you for any advice.
谢谢你的任何建议。
PS.
PS。
I did find a message here.
我确实在这里找到了一条消息。
that kind of seems to suggest the Cygwin
installation was successful:
这似乎表明Cygwin安装成功:
if the elevation was successful. In that case the stdout log now prints
note: Hand installation over to elevated child process.
But if that is the case why does the directory not reappear in the Windows command window like this: C:\cygwin64>
instead of simply having the cursor flashing on a new line without the directory displayed?
但是,如果是这种情况,为什么目录不会再出现在Windows命令窗口中,如下所示:C:\ cygwin64>而不是简单地让光标在没有显示目录的新行上闪烁?
1 个解决方案
#1
1
After waiting approximately three hours I decided to assume the above message mentioning the elevated child process meant everything was fine even though the folder never reappeared in the Windows command window. I proceeded with the installation of gcc 6.3.0
using the cygwin64
terminal and closed the Windows command window. After completing all of the installation steps outlined within the instructions at the first link in my question post above I obtained the correct answer to the suggested test using the file test.cpp
. Therefore, I appear to now have a function installation of the latest version of gcc
on the Windows 10 64-bit machine. For that reason I decided to go ahead and post this as an answer instead of adding it to my question.
等了大约三个小时后,我决定假设上面提到升级子进程的消息意味着一切都很好,即使文件夹永远不会再出现在Windows命令窗口中。我继续使用cygwin64终端安装gcc 6.3.0并关闭Windows命令窗口。在完成上面问题帖子中第一个链接的说明中概述的所有安装步骤后,我使用文件test.cpp获得了建议测试的正确答案。因此,我现在似乎在Windows 10 64位计算机上安装了最新版本的gcc。出于这个原因,我决定继续将此作为答案发布,而不是将其添加到我的问题中。
#1
1
After waiting approximately three hours I decided to assume the above message mentioning the elevated child process meant everything was fine even though the folder never reappeared in the Windows command window. I proceeded with the installation of gcc 6.3.0
using the cygwin64
terminal and closed the Windows command window. After completing all of the installation steps outlined within the instructions at the first link in my question post above I obtained the correct answer to the suggested test using the file test.cpp
. Therefore, I appear to now have a function installation of the latest version of gcc
on the Windows 10 64-bit machine. For that reason I decided to go ahead and post this as an answer instead of adding it to my question.
等了大约三个小时后,我决定假设上面提到升级子进程的消息意味着一切都很好,即使文件夹永远不会再出现在Windows命令窗口中。我继续使用cygwin64终端安装gcc 6.3.0并关闭Windows命令窗口。在完成上面问题帖子中第一个链接的说明中概述的所有安装步骤后,我使用文件test.cpp获得了建议测试的正确答案。因此,我现在似乎在Windows 10 64位计算机上安装了最新版本的gcc。出于这个原因,我决定继续将此作为答案发布,而不是将其添加到我的问题中。