blob: 8f11e10b1444804c7fd16b098afeb8d59dfdecea (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
------------------------------------------------------------------
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.
------------------------------------------------------------------
|