From da6f9141dad782cc77d504621327e65a47009e06 Mon Sep 17 00:00:00 2001 From: Louis Dalibard Date: Mon, 21 Oct 2024 13:57:06 +0200 Subject: [PATCH] add: windows build script --- wslbuild.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 wslbuild.sh diff --git a/wslbuild.sh b/wslbuild.sh new file mode 100755 index 0000000..15d141e --- /dev/null +++ b/wslbuild.sh @@ -0,0 +1,5 @@ +sudo apt-get install gcc-multilib +sudo apt-get install gcc-mingw-w64 +sudo apt-get install golang + +GOOS=windows GOARCH=386 CGO_ENABLED=1 CXX=i686-w64-mingw32-g++ CC=i686-w64-mingw32-gcc go build -tags noaudio \ No newline at end of file