如何在Windows 2000计算机上使用Go编译器获取GCC9.x或最新版gcc

问题描述 投票:0回答:1

我需要构建一个用Go编写的工具。 Go不支持Windows 2000,因此我想依靠内置支持Go(gccgo)的最新GCC编译器。我在Windows 2000计算机(Oracle虚拟机)上安装了cygwin 1.7(也许我需要cygwin专家来协助获取此设置中的最新gcc。)

我找不到要遵循的分步过程。我尝试在Windows 2000的cygwin 1.7上构建gcc 9.2,但崩溃。

我从cygwin 1.7(Windows 2000)上的gcc 9.2源代码运行./configure时遇到错误:

./configure: line 1932: cannot create temp file for here document: Device or resource busy
./configure: line 1944: cannot create temp file for here document: Device or resource busy
./configure: line 1979: cannot create temp file for here document: Device or resource busy
./configure: line 2141: cannot create temp file for here document: Device or resource busy
./configure: line 2145: cannot create temp file for here document: Device or resource busy
./configure: line 2149: cannot create temp file for here document: Device or resource busy
./configure: line 2153: cannot create temp file for here document: Device or resource busy
./configure: line 2157: cannot create temp file for here document: Device or resource busy
./configure: line 2161: cannot create temp file for here document: Device or resource busy
configure: error: cannot run /bin/sh ./config.sub

我需要构建一个用Go编写的工具。 Go不支持Windows 2000,因此我想依靠内置支持Go(gccgo)的最新GCC编译器。我在Windows 2000机器上有cygwin 1.7(...

gcc cygwin windows-2000
1个回答
0
投票

[我为Windows构建了自己的GCC个人版本(请参见http://winlibs.com),并且我已经尝试了启用Go语言的GCC 9,但是我得到了:

© www.soinside.com 2019 - 2024. All rights reserved.