AWT with static gcj
Thu Sep 21 00:31:00 GMT 2006
>>>>> "Marco" == Marco Trudel <firstname.lastname@example.org> 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.
More information about the Java