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]

libgcj.a instead of libgcj.so + dependencies on linux


The minGW version links libgcj.a statically, while the linux version of gcj
creates a dependency on libgcj.so and its subsequent dependencies.

At first glance I wanted to add the "-static" method in order to get the
same behaviour on linux as on windows. There is one snag, however. If it's
an swt application, it will also attempt to link the gtk dependencies
statically. I would want to avoid linking gtk statically, because doing so
is complicated.

Is there a way to get the same behaviour on linux as on windows (linking
against libgcj.a instead of libgcj.so)?


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