This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: 3rd Party Classes: Can gcj Only Handle Source Code?
"Alan W. Jurgensen" wrote:
> Or is one better off just using java source with gcj?
Yes, whenever source is available. Some information is lost when
compiling bytecode, like array initializers (they get converted to
instructions, since static array initializers don't exist in bytecode).
In general gcj should optimize better when compiling from source.
An exception is inner classes, which aren't yet handled by gcj... if you
use these, you may be forced to compile from bytecode.
--
Jeff Sturm
jsturm@sigma6.com