Problems using the GCJ interpreter

Øyvind Harboe oyvind.harboe@zylin.com
Wed Feb 19 09:15:00 GMT 2003


I thought I'd take the GCJ interpreter for a spin. 

The idea was that I'd not compile the swt.jar natively, but just let the interpreter deal with it runtime. Thought I'd check out what impact that had on performance/size. 

Seems like I'm missing an option from my command line...

(This was using Mohans latest).

 

 

C:\thisiscool-gcc\examples\HelloSWT>gcj --main=HelloSWT --classpath=swt.jar HelloSWT.java

c:\temp/ccclbaaa.o(.text+0x4e): In function `ZN8HelloSWT4mainEP6JArrayIPN4java4l

ang6StringEE':

C:/thisiscool-gcc/examples/HelloSWT/HelloSWT.java:10: undefined reference to `or

g::eclipse::swt::widgets::Display::class$'

c:\temp/ccclbaaa.o(.text+0x61):C:/thisiscool-gcc/examples/HelloSWT/HelloSWT.java

:10: undefined reference to `org::eclipse::swt::widgets::Display::Display()'

c:\temp/ccclbaaa.o(.text+0x76):C:/thisiscool-gcc/examples/HelloSWT/HelloSWT.java

:11: undefined reference to `org::eclipse::swt::widgets::Shell::class$'

c:\temp/ccclbaaa.o(.text+0x8d):C:/thisiscool-gcc/examples/HelloSWT/HelloSWT.java

:11: undefined reference to `org::eclipse::swt::widgets::Shell::Shell(org::eclip

se::swt::widgets::Display*)'


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gcc.gnu.org/pipermail/java/attachments/20030219/2b9649fa/attachment.htm>


More information about the Java mailing list