A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/wellington/go-libsass/issues/37 below:

Cross compile windows from OS X · Issue #37 · wellington/go-libsass · GitHub

Install mingw with this script https://gist.github.com/drewwells/ee5d42dc29b70b7b61af

Now you should be able to issue this,

GOOS=windows GOARCH=386 CGO_ENABLED=1 CC=i686-w64-ming32-gcc CXX=i686-w64-mingw32-g++ CGO_LDFLAGS="-static" go build -i -v -x -ldflags "-extldflags '-static' -extld=$CC"

Would be nice to have the gist script turned into a homebrew package.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4