1
0
mirror of https://github.com/golang/go synced 2024-11-24 21:20:05 -07:00
go/include
Russ Cox cbbc6a102d cmd/5l, cmd/6l, cmd/8l, cmd/cc, cmd/gc: new flag parsing
This CL adds a flag parser that matches the semantics of Go's
package flag. It also changes the linkers and compilers to use
the new flag parser.

Command lines that used to work, like
        8c -FVw
        6c -Dfoo
        5g -I/foo/bar
now need to be split into separate arguments:
        8c -F -V -w
        6c -D foo
        5g -I /foo/bar
The new spacing will work with both old and new tools.

The new parser also allows = for arguments, as in
        6c -D=foo
        5g -I=/foo/bar
but that syntax will not work with the old tools.

In addition to matching standard Go binary flag parsing,
the new flag parser generates more detailed usage messages
and opens the door to long flag names.

The recently added gc flag -= has been renamed -complete.

R=remyoudompheng, daniel.morsing, minux.ma, iant
CC=golang-dev
https://golang.org/cl/7035043
2013-01-06 15:24:47 -05:00
..
plan9 build: u.h for plan9 arm 2012-10-21 17:04:07 -04:00
ar.h gopack: change archive file name length back to 16 2011-11-01 00:29:16 -04:00
bio.h
bootexec.h
fmt.h convert C runtime to 32-bit runes; 2009-08-31 16:38:50 -07:00
libc.h cmd/5l, cmd/6l, cmd/8l, cmd/cc, cmd/gc: new flag parsing 2013-01-06 15:24:47 -05:00
mach.h libmach: support reading symbols from Windows .exe for nm 2011-08-29 14:25:43 -04:00
u.h build: define getcallerpc in u.h (fix for Plan 9 build) 2011-07-25 13:45:44 -04:00
ureg_amd64.h
ureg_arm.h support for 5.out files 2009-10-19 22:33:56 -07:00
ureg_x86.h
utf.h