diff options
author | Michael Stapelberg <stapelberg@debian.org> | 2014-06-19 09:22:53 +0200 |
---|---|---|
committer | Michael Stapelberg <stapelberg@debian.org> | 2014-06-19 09:22:53 +0200 |
commit | 8a39ee361feb9bf46d728ff1ba4f07ca1d9610b1 (patch) | |
tree | 4449f2036cccf162e8417cc5841a35815b3e7ac5 /src/cmd/gc/doc.go | |
parent | c8bf49ef8a92e2337b69c14b9b88396efe498600 (diff) | |
download | golang-8a39ee361feb9bf46d728ff1ba4f07ca1d9610b1.tar.gz |
Imported Upstream version 1.3upstream/1.3
Diffstat (limited to 'src/cmd/gc/doc.go')
-rw-r--r-- | src/cmd/gc/doc.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cmd/gc/doc.go b/src/cmd/gc/doc.go index 791967708..03df93a3e 100644 --- a/src/cmd/gc/doc.go +++ b/src/cmd/gc/doc.go @@ -37,6 +37,8 @@ Substitute 6g with 8g or 5g where appropriate. Flags: -o file output file, default file.6 for 6g, etc. + -pack + write an archive file rather than an object file -e normally the compiler quits after 10 errors; -e prints all errors -p path @@ -50,12 +52,14 @@ Flags: add dir1 and dir2 to the list of paths to check for imported packages -N disable optimizations + -nolocalimports + disallow local (relative) imports -S write assembly language text to standard output (code only) -S -S write assembly language text to standard output (code and data) -u - disallow importing packages not marked as safe + disallow importing packages not marked as safe; implies -nolocalimports -V print the compiler version -race |