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]

Problems using the GCJ interpreter


Title: Using the interpreter

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*)'



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