On 10/14/07, Randy Barlow <[EMAIL PROTECTED]> wrote:
>
> Florian Philipp wrote:
> > I've noticed that the gcj use flag is not enabled by default and
> > therefore all java code is compiled to byte code instead of native
> > binaries, am I correct?
>
> gcj can compile java code directly to machine code, and I'm pretty sure
> that the Sun compiler just compiles to byte code.  I have no experience
> with gcj though, so I can't answer your second question...
>
> > I wonder how I can change that. Just re-emerge gcc with USE="gcj" and
> > all packages containing java code? Is it even a good idea?


Probably not, but you could always try it and report back to the list... :o)

Nothing that needs to work with a class loader, like applets do, will work.
I would expect some problems with introspection.  Moreover, last I tried it,
there were buckets of incompatibility with the Java libraries.  Maybe it's
more mature now.

Kevin O'Gorman, PhD

Reply via email to