This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: AWT with static gcj


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]