This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: linking a .so with libgcj.a ?
- From: Andrew Haley <aph at redhat dot com>
- To: Andi Vajda <andi at osafoundation dot org>
- Cc: java at gcc dot gnu dot org
- Date: Wed, 15 Dec 2004 10:53:35 +0000
- Subject: Re: linking a .so with libgcj.a ?
- References: <Pine.OSX.4.61.0412142254170.6313@zoe.ovaltofu.org>
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.