mirror of
https://github.com/skeeto/w64devkit.git
synced 2026-10-24 17:39:18 +03:00
Ever since w64devkit began forcing bigobj by default, it has been incompatible with cgo. I patched go to support bigobj, but unfortunately upstream the patch ran in to bureaucracy/difficulties and I ran out of patience to get it through. So that means it's not really an option to use upstream go binaries, it must build from source. Bootstrapping go is not difficult, but it has grown more tedious as more required stages have been added to the bootstrap chain. So, to spare myself some tedium, I have created bootstrap-go-toolchain.sh. It builds the latest version of go, from source, using only w64devkit's gcc compiler. It also adds my bigobj patches to the toolchain, so cgo works properly.
Unsupported w64devkit enhancements
The files in this directory enhance w64devkit with specially-built
third-party libraries, such as garbage collection and POSIX regex.h.
Falling outside the scope of w64devkit, these libraries are not included
in the distribution, but may be situationally useful.
The header of each file has the instructions for its use. The file itself is mostly a custom build script, and you will need to obtain the library sources yourself the usual way.