Re: [PATCH v3 12/18] convert the Go front end to automatic dependencies

2013-09-16 Thread Paolo Bonzini
Il 16/09/2013 19:23, Tom Tromey ha scritto: > Tom> I can try a test build using a setting for CC that rejects -c -o. > > I did this and the build died pretty early on: > > /home/tromey/Space/Trunk/Git/bin/my-cc -c -DHAVE_CONFIG_H -g -g -I. > -I../../gcc/libiberty/../include -W -Wall -Wwrite-s

Re: [PATCH v3 12/18] convert the Go front end to automatic dependencies

2013-09-16 Thread Tom Tromey
Tom> I can try a test build using a setting for CC that rejects -c -o. I did this and the build died pretty early on: /home/tromey/Space/Trunk/Git/bin/my-cc -c -DHAVE_CONFIG_H -g -g -I. -I../../gcc/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic -fpi

Re: [PATCH v3 12/18] convert the Go front end to automatic dependencies

2013-09-16 Thread Tom Tromey
Paolo> You are listed as the author of the "compile" script in Automake, do you Paolo> remember which compilers need it? I'm too young for that (that's Paolo> something I can say less and less :))... I have no idea any more. I can try a test build using a setting for CC that rejects -c -o. Tom

Re: [PATCH v3 12/18] convert the Go front end to automatic dependencies

2013-09-16 Thread Paolo Bonzini
Il 26/08/2013 18:09, Tom Tromey ha scritto: >> "Ian" == Ian Lance Taylor writes: > > Ian> I assume that dropping $(OUTPUT_OPTION) is correct--I haven't looked > Ian> at the new definition of $(COMPILE). > > I believe the depcomp script takes care of this. I think that would be the "compile"

Re: [PATCH v3 12/18] convert the Go front end to automatic dependencies

2013-08-26 Thread Tom Tromey
> "Ian" == Ian Lance Taylor writes: Ian> I assume that dropping $(OUTPUT_OPTION) is correct--I haven't looked Ian> at the new definition of $(COMPILE). I believe the depcomp script takes care of this. Tom

Re: [PATCH v3 12/18] convert the Go front end to automatic dependencies

2013-08-23 Thread Ian Lance Taylor
2013/8/20 Tom Tromey : > This converts Go. > > It renames gospec.o to go/gospec.o, for uniformity and so we can > remove an explicit rule. > > It defines go_OBJS, to conform to the documented Make-lang.in > conventions, and to ensure that Go objects are given the correct > order-only dependencies o

[PATCH v3 12/18] convert the Go front end to automatic dependencies

2013-08-20 Thread Tom Tromey
This converts Go. It renames gospec.o to go/gospec.o, for uniformity and so we can remove an explicit rule. It defines go_OBJS, to conform to the documented Make-lang.in conventions, and to ensure that Go objects are given the correct order-only dependencies on generated files. * Make-la