AWT with static gcj

Tom Tromey tromey@redhat.com
Thu Sep 21 00:31:00 GMT 2006


>>>>> "Marco" == Marco Trudel <mtrudel@gmx.ch> writes:

>> In a --disable-shared build, there is no libgtkpeer.so that can be
>> loaded dynamically.

Marco> So, libgtkpeer.a is for the shared GCJ and libgtkpeer.so for the
Marco> static? Why isn't libgtkpeer.so built then?
No... libgtkpeer.a is a static library. libgtkpeer.so is a dynamic
library. In a --disable-shared build, the .so is simply not build.
However, System.loadLibrary can only load dynamic libraries; static
libraries simply can't be loaded at runtime.
Tom


More information about the Java mailing list

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