Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(278)

Issue 5562045: code review 5562045: go: introduce support for "go build" with gccgo. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 5 months ago by remyoudompheng
Modified:
13 years, 5 months ago
Reviewers:
CC:
rsc, iant2, albert.strasheim, golang-dev, remy_archlinux.org
Visibility:
Public.

Description

go: introduce support for "go build" with gccgo. The use of gccgo is triggered by GC=gccgo in environment. It still needs the standard distribution to behave properly, but allows using the test, build, run, install subcommands with gccgo.

Patch Set 1 #

Patch Set 2 : diff -r d5b106da84c9 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r d5b106da84c9 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r d5b106da84c9 https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r d5b106da84c9 https://go.googlecode.com/hg/ #

Patch Set 6 : diff -r bad5895b4270 https://go.googlecode.com/hg/ #

Total comments: 4

Patch Set 7 : diff -r bad5895b4270 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+156 lines, -41 lines) Patch
M src/cmd/go/build.go View 1 2 3 4 5 6 12 chunks +142 lines, -37 lines 0 comments Download
M src/cmd/go/pkg.go View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
M src/cmd/go/test.go View 1 2 3 4 2 chunks +3 lines, -4 lines 0 comments Download

Messages

Total messages: 21
remyoudompheng
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com, remy@archlinux.org), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 5 months ago (2012-01-21 17:17:33 UTC) #1
remyoudompheng
Hello, For the moment this looks a bit ugly to me, but I'd like some ...
13 years, 5 months ago (2012-01-21 17:23:45 UTC) #2
rsc
Thanks very much for working on this. The structure of what you have seems completely ...
13 years, 5 months ago (2012-01-21 17:56:42 UTC) #3
remyoudompheng
Thank you for the link tip, it will be useful for use with the "go ...
13 years, 5 months ago (2012-01-21 18:14:45 UTC) #4
remyoudompheng
OK, I think I managed to get go build, go test and go install somewhat ...
13 years, 5 months ago (2012-01-21 19:11:18 UTC) #5
remyoudompheng
Hello golang-dev@googlegroups.com, rsc@golang.org (cc: golang-dev@googlegroups.com, remy@archlinux.org), Please take another look.
13 years, 5 months ago (2012-01-21 19:17:03 UTC) #6
rsc
On Sat, Jan 21, 2012 at 14:11, <remyoudompheng@gmail.com> wrote: > OK, I think I managed ...
13 years, 5 months ago (2012-01-21 19:20:57 UTC) #7
remyoudompheng
On 2012/01/21 19:20:57, rsc wrote: > That surprises me. It's true that if you say ...
13 years, 5 months ago (2012-01-21 19:25:17 UTC) #8
rsc
On Sat, Jan 21, 2012 at 14:25, <remyoudompheng@gmail.com> wrote: > Archives full paths are passed ...
13 years, 5 months ago (2012-01-21 19:31:30 UTC) #9
remyoudompheng
On 2012/01/21 19:31:30, rsc wrote: > I see. It seems fine if the pkg tree ...
13 years, 5 months ago (2012-01-21 19:50:29 UTC) #10
remyoudompheng
Hello golang-dev@googlegroups.com, rsc@golang.org (cc: golang-dev@googlegroups.com, remy@archlinux.org), Please take another look.
13 years, 5 months ago (2012-01-21 19:50:45 UTC) #11
iant2
Russ Cox <rsc@golang.org> writes: > On Sat, Jan 21, 2012 at 14:25, <remyoudompheng@gmail.com> wrote: >> ...
13 years, 5 months ago (2012-01-21 22:43:19 UTC) #12
albert.strasheim
Hello On 2012/01/21 17:17:33, remyoudompheng wrote: > I'd like you to review this change to ...
13 years, 5 months ago (2012-01-22 05:27:00 UTC) #13
albert.strasheim
On 2012/01/22 05:27:00, albert.strasheim wrote: > Hello > On 2012/01/21 17:17:33, remyoudompheng wrote: > > ...
13 years, 5 months ago (2012-01-22 05:42:43 UTC) #14
remyoudompheng
Done for -fgo-prefix. I had horrible headaches trying to get the linking order right, especially ...
13 years, 5 months ago (2012-01-22 11:23:20 UTC) #15
remyoudompheng
Hello golang-dev@googlegroups.com, rsc@golang.org, iant@google.com, fullung@gmail.com (cc: golang-dev@googlegroups.com, remy@archlinux.org), Please take another look.
13 years, 5 months ago (2012-01-22 11:25:13 UTC) #16
albert.strasheim
I have one more question about flags. I'll try to test this on a big ...
13 years, 5 months ago (2012-01-22 12:33:33 UTC) #17
remyoudompheng
http://codereview.appspot.com/5562045/diff/4005/src/cmd/go/build.go File src/cmd/go/build.go (right): http://codereview.appspot.com/5562045/diff/4005/src/cmd/go/build.go#newcode240 src/cmd/go/build.go:240: // atexit(func() { os.RemoveAll(b.work) }) On 2012/01/22 12:33:33, albert.strasheim ...
13 years, 5 months ago (2012-01-22 12:57:28 UTC) #18
remyoudompheng
Hello golang-dev@googlegroups.com, rsc@golang.org, iant@google.com, fullung@gmail.com (cc: golang-dev@googlegroups.com, remy@archlinux.org), Please take another look.
13 years, 5 months ago (2012-01-22 13:11:21 UTC) #19
rsc
LGTM
13 years, 5 months ago (2012-01-27 22:01:22 UTC) #20
rsc
13 years, 5 months ago (2012-01-27 22:05:56 UTC) #21
*** Submitted as http://code.google.com/p/go/source/detail?r=d6a14e6fac0c ***

go: introduce support for "go build" with gccgo.

The use of gccgo is triggered by GC=gccgo in environment. It
still needs the standard distribution to behave properly, but
allows using the test, build, run, install subcommands with
gccgo.

R=rsc, iant, fullung
CC=golang-dev, remy
http://codereview.appspot.com/5562045

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b