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?!
Tom Tromey writes:
> >>>>> "Mohan" == Mohan Embar <gnustuff@thisiscool.com> writes:
>
> Mohan> What's more, this (Makefile.am):
> [...]
> Mohan> ...leads me to wonder whether this could even work for
> Mohan> static builds in the first place, given that even gij is
> Mohan> broken on Win32 due to the fact that it really needs to be
> Mohan> linked with the entirety of libgcj.a and not just whatever it
> Mohan> happens to see at the moment it's being statically linked.
>
> The Makefile as currently written assumes that either the interpreter
> works, or you can use the system-wide .db to provide compiled objects
> for ecj1.
>
> I'm afraid I didn't consider Windows when writing this. Sorry about
> that.
>
> I'm open to solutions. What would work best? We could compile the
> ecj jar, though that is likely to be pretty unfriendly -- it is rather
> big.
That's what I do. It works Just Fine.
Andrew.