On Sun, 02 Jan 2011 13:18:22 -0800 Ian Lance Taylor <i...@google.com> wrote:
> No, it is not. All .go input files must be passed to go1 at once. > H.J.'s patch has indeed broken gccgo. I can confirm that. I just tried to svn merge trunk 168407 into the GCC MELT branch (which, appart from the MELT stuff, is exactly the trunk), and I've got libtool: compile: /usr/src/Lang/_Obj_Gcc_Melt/./gcc/gccgo -B/usr/src/Lang/_Obj_Gcc_Melt/./gcc/ -B/usr/local/x86_64-unknown-linux-gnu/bin/ -B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/x86_64-unknown-linux-gnu/include -isystem /usr/local/x86_64-unknown-linux-gnu/sys-include -minline-all-stringops -O2 -g -I . -c -fgo-prefix=libgo_runtime /usr/src/Lang/basile-melt-gcc/libgo/go/runtime/debug.go /usr/src/Lang/basile-melt-gcc/libgo/go/runtime/error.go /usr/src/Lang/basile-melt-gcc/libgo/go/runtime/extern.go /usr/src/Lang/basile-melt-gcc/libgo/go/runtime/sig.go /usr/src/Lang/basile-melt-gcc/libgo/go/runtime/softfloat64.go /usr/src/Lang/basile-melt-gcc/libgo/go/runtime/type.go version.go -fPIC -o runtime/.libs/libruntime.a.o gccgo: fatal error: cannot specify -o with -c, -S or -E with multiple files compilation terminated. make[4]: *** [runtime/libruntime.a] Error 1 make[4]: Leaving directory `/usr/src/Lang/_Obj_Gcc_Melt/x86_64-unknown-linux-gnu/libgo' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/src/Lang/_Obj_Gcc_Melt/x86_64-unknown-linux-gnu/libgo' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/src/Lang/_Obj_Gcc_Melt/x86_64-unknown-linux-gnu/libgo' make[1]: *** [all-target-libgo] Error 2 make[1]: Leaving directory `/usr/src/Lang/_Obj_Gcc_Melt' make: *** [all] Error 2 BTW, I will try the same merge -from trunk to MELT- tomorrow. Cheers, and happy new year to every one! -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mine, sont seulement les miennes} ***