Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rjeczalik/cross
Go cross-compilation unchained.
https://github.com/rjeczalik/cross
Last synced: about 2 months ago
JSON representation
Go cross-compilation unchained.
- Host: GitHub
- URL: https://github.com/rjeczalik/cross
- Owner: rjeczalik
- License: mit
- Created: 2014-06-30T19:19:12.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-08-03T11:18:51.000Z (over 10 years ago)
- Last Synced: 2024-05-01T23:44:53.791Z (8 months ago)
- Language: Shell
- Size: 160 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
cross
=====A simple bash script for enhancing current `$GOROOT`/pkg with official packages for all the major platforms. Using binary packages from golang.org/dl, which are compiled on a target os and architecture, does not have the same `CGO` restrictions as using crosscompiled packages.
*Installation*
```bash
~/bin $ wget -q https://raw.githubusercontent.com/rjeczalik/cross/master/gocross -O - \
| tee ~/bin/gocross | sha1sum - | cut -d' ' -f1 \
| xargs -i test "{}" = "5910b55cc3046485c58337965ba8224801eece47" || rm -v ~/bin/gocross \
&& chmod +x ~/bin/gocross
```*Pic or it didn't happen*
![gocross](http://i.imgur.com/uWs17Db.gif "gocross")