diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-03 04:34:57 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-03 04:34:57 +0000 |
commit | e440a3286bc89368b8d3a8fd6accd47191790bf2 (patch) | |
tree | 38fe54a4f38ede5d949c915d66191f24a6fe5153 /libgo/README | |
parent | a641ee368e2614349084a9a7bda2ec2b0b2bc1cf (diff) | |
download | gcc-e440a3286bc89368b8d3a8fd6accd47191790bf2.tar.gz |
Add Go frontend, libgo library, and Go testsuite.
gcc/:
* gcc.c (default_compilers): Add entry for ".go".
* common.opt: Add -static-libgo as a driver option.
* doc/install.texi (Configuration): Mention libgo as an option for
--enable-shared. Mention go as an option for --enable-languages.
* doc/invoke.texi (Overall Options): Mention .go as a file name
suffix. Mention go as a -x option.
* doc/frontends.texi (G++ and GCC): Mention Go as a supported
language.
* doc/sourcebuild.texi (Top Level): Mention libgo.
* doc/standards.texi (Standards): Add section on Go language.
Move references for other languages into their own section.
* doc/contrib.texi (Contributors): Mention that I contributed the
Go frontend.
gcc/testsuite/:
* lib/go.exp: New file.
* lib/go-dg.exp: New file.
* lib/go-torture.exp: New file.
* lib/target-supports.exp (check_compile): Match // Go.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167407 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/README')
-rw-r--r-- | libgo/README | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/libgo/README b/libgo/README new file mode 100644 index 00000000000..3e7ce43fc27 --- /dev/null +++ b/libgo/README @@ -0,0 +1,47 @@ +See ../README. + +This is the runtime support library for the Go programming language. +This library is intended for use with the Go frontend. + +The library has only been tested on GNU/Linux using glibc. It should +not be difficult to port to other operating systems. + +The library has only been tested on x86/x86_64 systems. It should not +be difficult to port to other architectures. + +Directories: + +go + A copy of the Go library from http://golang.org/, with a few + changes for gccgo. Notably, the reflection interface is different. + +runtime + Runtime functions, written in C, which are called directly by the + compiler or by the library. + +syscalls + System call support. + +Contributing +============ + +To contribute patches to the files in this directory, please see +http://golang.org/doc/gccgo_contribute.html . + +Changes to these files require a copyright assignment to Google. This +is required to permit the changes to be copied to the gcc repository, +as Google has a copyright assignment with the Free Software +Foundation. + +If you are the copyright holder, you will need to agree to the +individual contributor license agreement at +http://code.google.com/legal/individual-cla-v1.0.html. This agreement +can be completed online. + +If your organization is the copyright holder, the organization will +need to agree to the corporate contributor license agreement at +http://code.google.com/legal/corporate-cla-v1.0.html. + +If the copyright holder for your code has already completed the +agreement in connection with another Google open source project, it +does not need to be completed again. |