Tech News
← Back to articles

Go-legacy-winxp: Compile Golang 1.24 code for Windows XP

read original related products more articles

The Go Programming Language

go-legacy-win7 is a fork of the Go programming language that maintains support for Windows 7 and Windows Server 2008 R2, and allows for deprecated go get behaviour. This project aims to provide a stable Go environment for users who need to support legacy Windows systems or prefer the traditional Go workflow.

Gopher image by Renee French, licensed under Creative Commons 4.0 Attribution licence.

Differences from Upstream Go

Windows 7 and Windows Server 2008 R2 Support

While the official Go project has dropped support for Windows 7 and Windows Server 2008 R2, this fork maintains compatibility with these legacy Windows systems. Classic go get Behaviour

This fork allows for the deprecated go get behaviour when GO111MODULE is set to "off" or "auto". This means: In GOPATH/src , go get and go install can operate in GOPATH mode.

, and can operate in mode. Outside of GOPATH/src , these commands can use module-aware mode when appropriate. Compatibility Notes

Please be aware that some newer Go features may not be fully compatible with Windows 7 or Windows Server 2008 R2. We try to maintain as much functionality as possible, but some limitations may exist.

Changes in Each Release

... continue reading