From: Jim Peters (jim_at_uazu.net)
Date: 2002-03-15 09:57:23
John Morrison wrote:
> This thread about GJC kind of died out but I'm REAL interested in
> it! I'd still prefer Java. Can GCJ be used to compile on a windows
> platform?
Sorry for not keeping everyone up to date. Adam Megacz pointed me to
the instructions to build a Linux->MinGW cross-compiler, and I have
that built now. However, building a native MinGW compiler means
cross-compiling the GCC compiler with itself, and I haven't quite got
the ./configure options for that sussed yet.
There is one problem for building on MinGW that also comes up with
Darwin (Mac OS X), and that is because both the Windows and Darwin
filesystems are case-insensitive. However, the GCJ people are
interested in solving this, and I've suggested a solution on the
gcc-java list, so if we're lucky this might be solved fairly soon.
If the changes get into 3.1, then the next release of MinGW could well
include GCJ automatically.
I'll try and build the native MinGW compiler today.
> IF not is there any other JAVA compilers (that compile to native
> code) that work on Windows and Linux?
As I mentioned, Toba can compile the Java 1.1 language to C, but the
native interface with Toba is different from GCJ, so we would end up
rewriting all the C code that interfaces with it. I think GCJ is a
much better long-term solution.
I don't know of any other similar solutions.
Jim
-- Jim Peters (_)/=\~/_(_) jim_at_uazu.net (_) /=\ ~/_ (_) Uazú (_) /=\ ~/_ (_) http:// B'ham, UK (_) ____ /=\ ____ ~/_ ____ (_) uazu.net
This archive was generated by hypermail 2.1.4 : 2002-07-27 12:28:41 BST