We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assuming you cloned go-mips32 into /home/michael/go-mips32, this is how you can compile it (using a Debian jessie Docker container until #9 is fixed):
$ docker run -t -i -v /home/michael/go-mips32:/home/michael/go-mips32 debian:jessie /bin/bash # apt-get update && apt-get install build-essential git vim # cd /home/michael/go-mips32/src # git clone -b archive git://github.com/davecheney/golang-crosscompile.git # sed -i 's,PLATFORMS=".*",PLATFORMS="linux/mips32 linux/mips32le",g' golang-crosscompile/crosscompile.bash # source golang-crosscompile/crosscompile.bash # go-crosscompile-build-all
Then, on the host, you can use go like this:
GOARCH=mips32le ~/go-mips32/bin/go build helloworld.go
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Assuming you cloned go-mips32 into /home/michael/go-mips32, this is how you can compile it (using a Debian jessie Docker container until #9 is fixed):
Then, on the host, you can use go like this:
The text was updated successfully, but these errors were encountered: