This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [PATCH] Fix build failure on non-C99 targets
David Daney writes:
> Tom Tromey wrote:
> >>>>>>"Eric" == Eric Botcazou <ebotcazou@libertysurf.fr> writes:
> >
> >
> > Eric> Libjava builds are again broken on non-C99 targets. The
> > Eric> following patch is sufficient to restore them. Tested on
> > Eric> sparc64-sun-solaris2.9 and sparc-sun-solaris2.[5678]. Is it
> > Eric> good enough?
> >
> > This is fine, thanks.
> >
>
> Isn't libgcj always compiled with gcc/g++/gcj? In all stage one builds (or
> cross-compiles) that I have done, that is the case. I don't see why the
> host compiler would ever be used for compiling libgcj.
>
> Am I missing something?
Yes. "configure; make; make install" is supposed to work.
Bootstrapping is non-compulsory.
However, this declaration before use rule is a nightmare. IMO, we
should always build gcc (all stages) so that is aborts with a hard
error if this happens.
Andrew.