aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.7/libgo/go/runtime/compiler.go
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.7/libgo/go/runtime/compiler.go')
-rw-r--r--gcc-4.7/libgo/go/runtime/compiler.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc-4.7/libgo/go/runtime/compiler.go b/gcc-4.7/libgo/go/runtime/compiler.go
new file mode 100644
index 000000000..0ed3b183f
--- /dev/null
+++ b/gcc-4.7/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"