Russ Cox
5190907299
quietgcc: fix typo, respect $TMPDIR
...
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/4529087
2011-05-25 13:20:50 -04:00
Russ Cox
1d26908d3f
build: use gcc -Werror
...
Better to fix the warnings that we find.
R=iant
CC=golang-dev
https://golang.org/cl/4406042
2011-04-13 16:18:09 -04:00
Andrew Gerrand
3f032d5670
build: add GOHOSTOS and GOHOSTARCH environment variables.
...
Auto-detect both if not set, and if GOARCH is not set use GOHOSTARCH.
GOHOSTARCH is used to set the -m32 or -m64 flags for gcc.
This is so that 64-bit can build binaries that run on 32-bit systems.
R=rsc, iant, brainman
CC=golang-dev
https://golang.org/cl/2342045
2010-10-08 18:52:28 +11:00
Christian Himpel
5c603dbb75
build: remove unnecessary references to GOBIN and GOROOT
...
All scripts and makefiles assume that GOBIN is correctly set
in PATH.
R=rsc
CC=golang-dev
https://golang.org/cl/2043041
2010-08-30 15:40:56 -04:00
Devon H. O'Dell
553be8427e
Build changes to support work on the BSDs.
...
This does still contain some FreeBSD-specific bits, but
it's a pain to do partial diffs.
R=rsc
https://golang.org/cl/152138
2009-11-14 15:29:09 -08:00
Ian Lance Taylor
f4e3947ffe
Permit the CC environment variable to include arguments
...
(I should have tested the last change a bit more before
submitting).
R=rsc
http://go/go-review/1017011
2009-11-01 16:29:33 -08:00
Ian Lance Taylor
fab7ae15ee
Use the environment variable CC as the bootstrap compiler used
...
to build 6g, 6l, etc.
R=rsc
CC=go-dev
http://go/go-review/1018015
2009-11-01 16:13:37 -08:00
Russ Cox
079e038aca
exit with non-zero status for incompatible pointer type warnings
...
R=r
DELTA=9 (7 added, 0 deleted, 2 changed)
OCL=34499
CL=34499
2009-09-09 16:45:23 -07:00
Russ Cox
6b8ba5d8fc
quietgcc: do not use -m64 on 32-bit machines
...
R=r
DELTA=9 (8 added, 0 deleted, 1 changed)
OCL=32413
CL=32418
2009-07-29 11:47:11 -07:00
Russ Cox
d2dfd76b3d
build with warnings enabled.
...
new script "quietgcc" installed in $HOME/bin during make.bash
runs gcc with warnings, turns off inappropriate ones,
greps out useless output.
quietgcc also makes sure to run the correct 64-bit gcc.
R=r
DELTA=38 (36 added, 0 deleted, 2 changed)
OCL=17493
CL=19599
2008-11-19 12:54:44 -08:00