Does gcj pass -dy and -dn to linker?

Bryce McKinlay bryce@waitaki.otago.ac.nz
Mon Oct 29 14:13:00 GMT 2001


Bill Bland wrote:
>It wasn't fltk causing the problem after all (btw, my gcj == 3.0.2).
>I was doing a Class.forName, which as you pointed out would cause problems
>when libgcj was linked statically. I now have all libraries apart from
>libgcj linked statically and it works great.
>
Cool. You may be able to work around the Class.forName problem by 
putting declarations like the following in your Java code for each of 
the missing classes:
static final Class myclass = java.foo.Bar.class;
BTW Are you saying that GCJ 3.0.2 is still crashing for you rather than 
print an exception stack trace?
regards
Bryce.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /