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: looking into SWT 3.0 M8 for native compilation with GCJ


>>>>> "Erik" == Erik Poupaert <erik.poupaert@skynet.be> writes:

Erik> Has anybody gotten anywhere with compiling SWT 3.0 natively?

I haven't tried it yet.

Erik> I can't even get the jni dependencies to compile properly. The
Erik> make_gtk.mak buildfile included, doesn't work at all.

We needed the appended to make some versions of the swt gtk JNI code
compile against newer versions of gtk.  I thought we had submitted
this upstream... Peter?

Tom

Index: structs.h
===================================================================
RCS file: /usr/cygnus/eclipse-cvsroot/org.eclipse.swt/Eclipse SWT PI/gtk/library/structs.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- structs.h 9 Jan 2004 20:29:16 -0000 1.3
+++ structs.h 26 Feb 2004 23:16:05 -0000 1.4
@@ -16,6 +16,8 @@
 #ifndef INC_structs_H
 #define INC_structs_H
  
+#undef GTK_DISABLE_DEPRECATED
+
 #include <gtk/gtk.h>
 #include <gdk/gdk.h>
 #include <pango/pango.h>


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