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: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- 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, aoliva at redhat dot com
- Date: Wed, 27 Feb 2002 13:27:41 +1300
- Subject: Re: jni and static libgcj and friends?
- References: <Pine.LNX.4.10.10202261118050.29710-100000@mars.deadcafe.org>
Jeff Sturm wrote:
>On Tue, 26 Feb 2002, Jeff Sturm 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.
>>
>
>My apologies... -prefer-pic *does* work. It's just that it still builds
>each object twice :(
>
I use "--disable-static" on my Powerbook to speed up the libgcj build
(and stop it making a ~100MB libgcj.a) and it works (maybe I had to hack
something slightly though). I still get the feeling the build is
spending more time in libtool than in gcj, though!
regards
Bryce.