gcc/gcj 3.4 - bug report
Mohan Embar
gnustuff@thisiscool.com
Thu Jul 24 03:46:00 GMT 2003
Hi Moh,
>As you can see, it does some dynamic class loading via Class.forName.
>BTW, a lot of java code works like this. I guess ld was just optimizing too
>much and removing those classes because they were not invoked directly
>anywhere. The solution was a simple class (I had to put it in the the eclipse
>package, because those classes are package private).
>For anyone who's interested:
...
>Note to Mohan: you might want to put that class in your builds and add it as a
>.o for linking.
Could you maybe update the SWT build script in thisiscool-gcc/swt/win32/scripts
and also perhaps build.bat of examples/HelloSWT and send it to me? If you
also update HelloSWT, provide a sample image and load the image via HelloSWT,
you'll be the hero of the day.
The same goes for everyone: unfortunately, I'm so caught up in building and
hacking this stuff that I only have a vague idea of how to use it in real life, especially
the SWT stuff. Please feel free to send updated and new examples. The
easier you make it for me to include them (i.e. "Place this here, do this.")
and the less I have to think, the more likely they are to be included and
I'll give you due credit.
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/
More information about the Java
mailing list