linking a .so with libgcj.a ?

Andi Vajda andi@osafoundation.org
Wed Dec 15 17:26:00 GMT 2004


If I managed to produce a -fPIC libgcj.a, this would work then ?

Andi..

On Wed, 15 Dec 2004, Andrew Haley wrote:

> Andi Vajda writes:
> >
> > On Linux (gentoo 2.6.9), using gcj 3.4.3, built from sources, I'm trying to
> > create a .so (a python extension) that is statically linked with libgcj.a
> > instead of dynamically with libgcj.so.5.
>
> In general this won't work, because DSOs need to be compiled PIC.
>
> Andrew.
>



More information about the Java mailing list