This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: jni and static libgcj and friends?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]