gcj and awt

Tom Tromey tromey@redhat.com
Thu Apr 19 09:15:00 GMT 2001


>>>>> "John" == John Peterson <pete@knorrinteractive.com> writes:

John> I'd be willing to test awt for compiling to a win32 executable.
gcj doesn't include AWT.
John> It would save some time if I could just grab a copy of gcc/gcj 
John> already built for win32.
I don't know if this exists. I don't even know if the current gcj can
build at all on Windows. Nobody has been actively supporting the
Windows port (which was never quite complete in the first place), so
it might have rotted a little.
John> And since I'm just catching up with gcj in general, I assume
John> that gcj compiles down to a real stand-alone executable,
John> i.e. no extra jre/jvm/dll garbage!?
You have to link libgcj into your java executable somehow. By
default, on platforms where it is supported, libgcj does include the
bytecode interpreter and is built as a shared library (dll on
Windows).
However, you can configure the interpreter out and then link
statically if that is what you really want.
Tom


More information about the Java mailing list

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