add: windows build script

This commit is contained in:
Louis Dalibard 2024-10-21 13:57:06 +02:00
parent 7f8f57728a
commit da6f9141da

5
wslbuild.sh Executable file
View File

@ -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