[MacPorts] #48646: request golang cross-compiler variants
#48646: request golang cross-compiler variants ----------------------------+-------------------------------- Reporter: brian.reiter@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: go ----------------------------+-------------------------------- 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. -- Ticket URL: <https://trac.macports.org/ticket/48646> MacPorts <https://www.macports.org/> Ports system for OS X
#48646: request golang cross-compiler variants -----------------------------+------------------------- Reporter: brian.reiter@… | Owner: ciserlohn@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: go | -----------------------------+------------------------- Changes (by mf2k@…): * owner: macports-tickets@… => ciserlohn@… * version: 2.3.3 => Comment: In the future, please use WikiFormatting and Cc the port maintainers ({{{port info --maintainers go}}}), if any. -- Ticket URL: <https://trac.macports.org/ticket/48646#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#48646: request golang cross-compiler variants -----------------------------+------------------------- Reporter: brian.reiter@… | Owner: ciserlohn@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: go | -----------------------------+------------------------- Description changed by mf2k@…: Old description:
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.
New description: 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. -- -- Ticket URL: <https://trac.macports.org/ticket/48646#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#48646: request golang cross-compiler variants -----------------------------+------------------------- Reporter: brian.reiter@… | Owner: ciserlohn@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: invalid | Keywords: Port: go | -----------------------------+------------------------- Changes (by ciserlohn@…): * status: new => closed * resolution: => invalid Comment: There is no need for variant. Since Go 1.5 cross-compiling support is always included. -- Ticket URL: <https://trac.macports.org/ticket/48646#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts