This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: GCJ 3.2 for Win32: Updated Snapshot
- From: "Kirk Vogen" <kirkvdevw at us dot ibm dot com>
- To: java at gcc dot gnu dot org
- Date: Tue, 10 Dec 2002 09:24:38 -0600
- Subject: Re: GCJ 3.2 for Win32: Updated Snapshot
> Could please provide some more information about how
> to get SWT running with GCJ for Win32?
I'll be posting an article on how to do so in early 2003. The article will
be published on the IBM developerWorks website
(http://www.ibm.com/developer) and covers SWT 2.x with GCJ on Linux and
Windows.
The strategy I'm using is to compile the SWT code into a library (i.e. .a
file). It first compiles to bytecode, then compiles to .o using the -fjni
flag, finally it uses 'ar' and 'ranlib' to put it all into a library. I
then link the library into my application.
This is a similar approach as Ranjit (and Ingo Bormann), except that I'm
using Ant for everything.
I'll be sure to post to the list when the article is published.
Thanks,
Kirk