summaryrefslogtreecommitdiff
path: root/libgo/go/runtime/compiler.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/runtime/compiler.go')
-rw-r--r--libgo/go/runtime/compiler.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/libgo/go/runtime/compiler.go b/libgo/go/runtime/compiler.go
new file mode 100644
index 00000000000..0ed3b183fe2
--- /dev/null
+++ b/libgo/go/runtime/compiler.go
@@ -0,0 +1,13 @@
+// Copyright 2012 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.
+
+package runtime
+
+// Compiler is the name of the compiler toolchain that built the
+// running binary. Known toolchains are:
+//
+// gc The 5g/6g/8g compiler suite at code.google.com/p/go.
+// gccgo The gccgo front end, part of the GCC compiler suite.
+//
+const Compiler = "gccgo"