LEFT | RIGHT |
(no file at all) | |
1 // Copyright 2009 The Go Authors. All rights reserved. | 1 // Copyright 2009 The Go Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style | 2 // Use of this source code is governed by a BSD-style |
3 // license that can be found in the LICENSE file. | 3 // license that can be found in the LICENSE file. |
4 | 4 |
5 /* | 5 /* |
6 | 6 |
7 Gc is the generic label for the family of Go compilers | 7 Gc is the generic label for the family of Go compilers |
8 that function as part of the (modified) Plan 9 tool chain. The C compiler | 8 that function as part of the (modified) Plan 9 tool chain. The C compiler |
9 documentation at | 9 documentation at |
10 | 10 |
(...skipping 24 matching lines...) Expand all Loading... |
35 output file, default file.6 for 6g, etc. | 35 output file, default file.6 for 6g, etc. |
36 -e | 36 -e |
37 normally the compiler quits after 10 errors; -e prints all error
s | 37 normally the compiler quits after 10 errors; -e prints all error
s |
38 -p path | 38 -p path |
39 assume that path is the eventual import path for this code, | 39 assume that path is the eventual import path for this code, |
40 and diagnose any attempt to import a package that depends on it. | 40 and diagnose any attempt to import a package that depends on it. |
41 -L | 41 -L |
42 show entire file path when printing line numbers in errors | 42 show entire file path when printing line numbers in errors |
43 -I dir1 -I dir2 | 43 -I dir1 -I dir2 |
44 add dir1 and dir2 to the list of paths to check for imported pac
kages | 44 add dir1 and dir2 to the list of paths to check for imported pac
kages |
| 45 -N |
| 46 disable optimizations |
45 -S | 47 -S |
46 write assembly language text to standard output | 48 write assembly language text to standard output |
47 -u | 49 -u |
48 disallow importing packages not marked as safe | 50 disallow importing packages not marked as safe |
49 -V | 51 -V |
50 print the compiler version | 52 print the compiler version |
51 | 53 |
52 There are also a number of debugging flags; run the command with no arguments | 54 There are also a number of debugging flags; run the command with no arguments |
53 to get a usage message. | 55 to get a usage message. |
54 | 56 |
55 */ | 57 */ |
56 package documentation | 58 package documentation |
LEFT | RIGHT |