This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gcj-eclipse-merge-branch] MinGW ecj: Cross-built ecjx?!


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.

I haven't actually tested it, though.  Threads are probably broken
because the park/unpark stuff is unimplemented on win32 at the moment.

  - a


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]