cec0b576ea
Submitted by: devon.odell@gmail.com (private mail)
18 lines
651 B
Text
18 lines
651 B
Text
------------------------------------------------------------------
|
|
To build Go programs for FreeBSD, you'll want to set up your
|
|
environment properly. The following environment variables should
|
|
be set:
|
|
|
|
GOOS=freebsd
|
|
GOARCH=%%ARCH%%
|
|
GOROOT=%%PREFIX%%/lib/go
|
|
|
|
To build Go programs, you may include %%PREFIX%%/share/go/Make.pkg
|
|
or %%PREFIX%%/share/go/Make.cmd in your build infrastructure
|
|
(note: this requires gmake).
|
|
|
|
Your compiler is %%GOOBJ%%g and your linker is %%GOOBJ%%l.
|
|
|
|
For more information on programming in Go and for more
|
|
documentation, see http://www.golang.org.
|
|
------------------------------------------------------------------
|