This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: [gcj-eclipse-merge-branch] MinGW ecj: Cross-built ecjx?!
Adam Megacz writes:
>
> Mohan Embar <gnustuff@thisiscool.com> writes:
> > I'm suspecting that for cross builds, the only recourse is to
> > have a working native gcj compiler to build ecjx, but I'm unclear
> > about how the cross builds of other things like jc1 work as far
> > as being built with a native compiler, but being able to generate
> > object code for the target.
>
> After applying the last four changes I've sent to java-patches you
> should be able to build a {darwin,debian}->{mingw} cross compiler from
> the gcj-eclipse-merge-branch branch.
>
> The only problem left is gcj-dbtool, AFAICT. If you clobber it with
> "touch $(build)/i686-pc-mingw32/libjava/classmap.db" the rest of the
> build should complete without errors.
We should not build the .db in the libgcj build, IMO. It's a
pointless thing to do; all it means is that whan you do "make install"
you destroy whatever database is installed in your system. I should
take out that line altogether.
Andrew.