#48646 closed enhancement (invalid)
request golang cross-compiler variants
Reported by: | breiter (Brian Reiter) | Owned by: | ci42 |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | go |
Description (last modified by mf2k (Frank Schima))
Go can be built with cross-compiler support so you can build a binary for a foreign operating system such as Linux and Windows from OS X.
For example, building the linux/amd64 cross-compiler support is like this:
GOOS=linux GOARCH=amd64 ./make.bash
Homebrew has the options --with-cc-common
and --with-cc-all
. It would be great is we could have port variants like this as well.
Change History (3)
comment:1 Changed 9 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to ciserlohn@… |
---|---|
Version: | 2.3.3 |
comment:2 Changed 9 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:3 Changed 8 years ago by ci42
Resolution: | → invalid |
---|---|
Status: | new → closed |
There is no need for a variant. Since Go 1.5 cross-compiling support is always included.
Note: See
TracTickets for help on using
tickets.
In the future, please use WikiFormatting and Cc the port maintainers (
port info --maintainers go
), if any.