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 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


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