Opened 9 years ago

Last modified 8 years ago

#48646 closed enhancement

request golang cross-compiler variants — at Initial Version

Reported by: breiter (Brian Reiter) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: go

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.

Change History (0)

Note: See TracTickets for help on using tickets.