summaryrefslogtreecommitdiff
path: root/src/cmd/8g/doc.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2009-11-03 22:00:36 -0800
committerRob Pike <r@golang.org>2009-11-03 22:00:36 -0800
commitb2000a623a783af4ff57f494a4d2d9280b0a37c1 (patch)
tree33929802527dd05c14f0d2d9d0969c257f01d14d /src/cmd/8g/doc.go
parent0082ae5fef7528d9f93be27b031e051306729d65 (diff)
downloadgolang-b2000a623a783af4ff57f494a4d2d9280b0a37c1.tar.gz
document the gc go compilers.
fix the usage message. R=rsc CC=go-dev http://go/go-review/1016033
Diffstat (limited to 'src/cmd/8g/doc.go')
-rw-r--r--src/cmd/8g/doc.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/cmd/8g/doc.go b/src/cmd/8g/doc.go
new file mode 100644
index 000000000..5b522fd14
--- /dev/null
+++ b/src/cmd/8g/doc.go
@@ -0,0 +1,15 @@
+// Copyright 2009 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+/*
+
+8g is the version of the gc compiler for the x86,
+referred to by these tools for historical reasons as 386.
+
+It reads .go files and outputs .8 files. The flags are documented in ../gc/doc.go.
+
+There is no instruction optimizer, so the -N flag is a no-op.
+
+*/
+package documentation