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: Executing Gcj-SWT native code fails


Am Montag, den 17.01.2005, 13:08 +0100 schrieb krimo:
> Hi guys,
> 

> And my Makefile:
>         gcj -c -Wall -I./lib/swt.jar --classpath=src/ src/Test.java
>         #Linking all
>         gcj --main=Test Test.o -lswt -lswt-pi -o Test
> 
how did you compile libswt.so and libswt-pi.so, did you mention the
-fjni flag (this classes contain native code, which is implemented using
jni), do you have a LD_LIBRARY_PATH for the jni shared objects ?

I don't have a problem using swt gui stuff, but I've tested with
gcc-head recently. Also I've found that compiling swt.jar with the old
abi (which is the only one in gcc-3.4) I have some strange verifier
error.

Do you get an error, or simply nothing?

-- 
Jakob Praher <jpraher@yahoo.de>


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