This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: GCJ for windows-question...
- From: Frank Jacobs <forkjake at yahoo dot com>
- To: java at gcc dot gnu dot org
- Date: Tue, 16 Jul 2002 08:35:58 -0700 (PDT)
- Subject: Re: GCJ for windows-question...
Currently, the official support for GCJ 3.1 for
Windows is via cross-compilation. In other words, you
build the compiler to run on Linux, yet create Windows
executables.
Regarding JNI, GCJ currently does not support it. This
is because the GCJ build process is setup to disable
the loading of shared libraries (e.g. DLLs) for
cross-compilers. More info. on this can be found at:
http://gcc.gnu.org/ml/java/2002-06/msg00038.html
About a month ago, I was working on creating a patch
to get around this problem (using the Windows
LoadLibrary() call), but ran into a problem with it. I
haven't had a chance to get back to it, but hope to in
the next week or so.
One more note, regarding running GCJ on Windows, we
may be getting close. With the current GCJ 3.2 dev
code, some have gotten GCJ to run on Cygwin. I think
that it would be cool to create a cross-compiler that
runs under Cygwin and creates Windows executables
(i.e. mingw32). I think some have tried this, but I'm
not sure what the outcome was. See this message for
more info. on this:
http://gcc.gnu.org/ml/java/2002-06/msg00260.html
Hope that helps,
:-) Frank
--- Clemens Eisserer <ceisserer@utanet.at> wrote:
> Hi there!
>
> I'm working on an vocab-trainer for our school and I
> want to use
> Java-GTk to realize that.
> So, I would be very happy if anybody could answer me
> the following
> questions:
>
> 1. Is GCJ also avaible for Windows. Are there
> precompiled packages avaible?
> 2. Does GCJ under windows support JNI? A log time
> ago I heard that
> dll-loading is not supported under win****.
>
> Thx Clemens
>
__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com