Find a file
Joe Poirier e21b3a40ac build: test for _WIN32, not _MINGW32
Use OS rather than compiler specific flag the same way that
__FreeBSD__, __APPLE__, __OpenBSD__, and __linux__ are used.

_WIN32 is defined by GCC (and others) on windows for Win32
and Win64 applications. _WIN32 is set by default for several
other windows based compilers: DMC, MSVC, Intel, Watcom, LCC.

Although the change is for consistency, it allows the Go tools
to be compiled with non-Mingw GCC distributions and non-GCC
compilers that support the GCC extensions.

R=rsc, brainman, vcc
CC=golang-dev
https://golang.org/cl/2168043
2010-09-08 22:20:35 -04:00
doc go_spec: consistent use of 'low', 'high' in slices section 2010-09-07 16:32:35 -07:00
include cov and prof: implement windows version (just function stubs and build mods) 2010-07-30 11:47:11 +10:00
lib codereview: Fix uploading for Mercurial 1.6.3 2010-08-29 23:04:05 -04:00
misc revert accidental submit of builder.go 2010-09-03 18:08:16 +10:00
src build: test for _WIN32, not _MINGW32 2010-09-08 22:20:35 -04:00
test test: Recognize gccgo error messages. 2010-09-08 13:58:09 -07:00
.hgignore goinstall: added -a flag to mean "all remote packages" 2010-09-02 13:48:28 -04:00
.hgtags tag release.2010-09-06 2010-09-07 16:17:14 +10:00
AUTHORS A+C: Vincent Ambo 2010-08-30 14:57:23 +10:00
CONTRIBUTORS A+C: Vincent Ambo 2010-08-30 14:57:23 +10:00
favicon.ico add a favicon plus a couple of hi-res versions of gordon 2009-10-26 10:13:07 -07:00
LICENSE Add an explicit patent grant to the Go license. 2010-01-25 15:39:32 -08:00
README build: update, streamline documentation for new $GOBIN 2010-08-24 20:00:50 -04:00

This is the source code repository for the Go programming language.  

For documentation about how to install and use Go,
visit http://golang.org/ or load doc/install.html in your web browser.

After installing Go, you can view a nicely formatted
doc/install.html by running godoc --http=:6060
and then visiting http://localhost:6060/doc/install.html.

Unless otherwise noted, the Go source files are distributed
under the BSD-style license found in the LICENSE file.

--

Binary Distribution Notes

If you have just untarred a binary Go distribution, you need to set
the environment variable $GOROOT to the full path of the go
directory (the one containing this README).  You can omit the
variable if you unpack it into /usr/local/go, or if you rebuild
from sources by running all.bash (see doc/install.html).
You should also add the Go binary directory $GOROOT/bin
to your shell's path.

For example, if you extracted the tar file into $HOME/go, you might
put the following in your .profile:

    export GOROOT=$HOME/go
    export PATH=$PATH:$GOROOT/bin

See doc/install.html for more details.