This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: jni and static libgcj and friends?
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Jeff Sturm <jsturm at one-point dot com>
- Cc: Martin Kahlert <martin dot kahlert at infineon dot com>, java at gcc dot gnu dot org
- Date: 27 Feb 2002 20:42:23 -0300
- Subject: Re: jni and static libgcj and friends?
- Organization: GCC Team, Red Hat
- References: <Pine.LNX.4.10.10202261054120.29647-100000@mars.deadcafe.org>
On Feb 26, 2002, Jeff Sturm <jsturm@one-point.com> wrote:
> On Tue, 26 Feb 2002, Martin Kahlert wrote:
>> > In theory you could build libgcj with -prefer-pic and get what you want...
>> > I tried this and it didn't seem to work.
>> So you do not see any way to produce one standalone shared lib for that?
> Build a static libgcj.a with -fPIC. I don't know what magic incantations
> libtool needs to do that, however.
--disable-shared plus your prefer-pic patch should do it.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer