Skip to content

Instantly share code, notes, and snippets.

@martell
Last active January 4, 2016 07:19
Show Gist options
  • Save martell/8588075 to your computer and use it in GitHub Desktop.
Save martell/8588075 to your computer and use it in GitHub Desktop.
Building limetext from msys2
pacman -S git mercurial
// for x64 only
pacman -S makepkg-config mingw-w64-x86_64-go mingw-w64-x86_64-toolchain mingw-w64-x86_64-python3 mingw-w64-x86_64-oniguruma
export GOOS=windows
export GOARCH=amd64
export GOROOT=/mingw64/ # the trailing forward slash is very important
export GOPATH=/mingw64
export PKG_CONFIG_PATH=/mingw64/lib/pkgconfig
// end x64 only
// for x86 only
pacman -S makepkg-config mingw-w64-i686-go mingw-w64-i686-toolchain mingw-w64-i686-python3 mingw-w64-i686-oniguruma
export GOOS=windows
export GOARCH=386
export GOROOT=/mingw32/ # the trailing forward slash is very important
export GOPATH=/mingw32
export PKG_CONFIG_PATH=/mingw64/lib/pkgconfig
// end x86 only
go get github.com/limetext/lime/frontend/termbox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment