jni and static libgcj and friends? (Bug in libtool)

Alexandre Oliva aoliva@redhat.com
Tue Mar 5 09:04:00 GMT 2002


On Mar  5, 2002, Martin Kahlert <martin.kahlert@infineon.com> wrote:

> Hi Jeff,
> On Thu, Feb 28, 2002 at 11:04:09AM -0500, Jeff Sturm wrote:
>> On Thu, 28 Feb 2002, Martin Kahlert wrote:
>> > /usr/bin/ksh ./libtool --tag=GCJ --mode=compile -prefer-pic
>> 
>> Something went wrong here.  You might try installing the automake
>> recommended in libjava/HACKING...
>> 
>> ftp://sources.redhat.com/pub/java/automake-gcj-1.4.tar.gz
>> 
>> ...or else give up and patch Makefile.in by hand.

> Did that, but it did not work either.

> Then i went into obj_titan/sparc-sun-solaris2.7/sparcv9/libjava
> and invoked by hand
> ./libtool -prefer-pic --mode=compile

-prefer-pic is supposed to be passed to libtool as if it were an
option to the compiler.  I.e., make it

./libtool --mode=compile gcc ... -prefer-pic ...

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



More information about the Java mailing list