This is a creation in Article, where the information may have evolved or changed.
From the ' to go '
The compiler flags are:
c:\users\ivo>8g
gc:usage:8g [flags] file.go ...
Flags
-I dir search for packages in DIR
-D Print Declarations
-e No limit on number of errors printed
-F Print Stack frame structure
-H panic on an error
-o file Specify output file//see§3.4
-S print the generated assembly code
-V Print the compiler version//see§2.3 (7)
-U Disable Package unsafe
-W Print the parse tree after typing
-X Print Lex Tokens
-I can be used to indicate the map in which the Go files to compile is (it can also
contain the variable $GOPATH)
The linker flags are:
c:\users\ivo>8l
usage:8l [-options] [-e entry] [-H head] [-I interpreter] [-l dir] [-t text] [-R
RND] [-R Path] [-O out] main.8
-L can is used to indicate the "map in which" the Go files to link is (it can also contain
The variable $GOPATH)