jni and static libgcj and friends?

Alexandre Oliva aoliva@redhat.com
Wed Feb 27 17:07:00 GMT 2002


On Feb 26, 2002, Jeff Sturm <jsturm@one-point.com> wrote:
> On 2002年2月26日, 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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /