This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: jni and static libgcj and friends? (Bug in libtool)
- From: Martin Kahlert <martin dot kahlert at infineon dot com>
- To: Jeff Sturm <jsturm at one-point dot com>
- Cc: java at gcc dot gnu dot org
- Date: Tue, 5 Mar 2002 10:51:44 +0100
- Subject: Re: jni and static libgcj and friends? (Bug in libtool)
- References: <20020228144912.A27968@keksy.muc.infineon.com> <Pine.LNX.4.10.10202281057350.21863-100000@mars.deadcafe.org>
- Reply-to: martin dot kahlert at infineon dot com
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
result:
libtool: unrecognized option `-prefer-pic'
Try `libtool --help' for more information.
The problem seems to be a bug in libtool.
The -prefer-pic option is not let through by the $arg checking code.
I added without much thought a
-prefer-pic)
;;
below the case
-dlopen (around line 556)
inside it, and it got further. I hope that will work now.
Thanks,
Martin.
--
The early bird catches the worm. If you want something else for
breakfast, get up later.