automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Example on JNI compilation


From: LCID Fire
Subject: Re: Example on JNI compilation
Date: Mon, 20 Apr 2009 19:58:50 +0200
User-agent: Thunderbird 2.0.0.21 (X11/20090409)

Ralf Wildenhues wrote:
Hello,

* LCID Fire wrote on Sat, Apr 18, 2009 at 11:08:58PM CEST:
I'm currently stuck with compiling a JNI library, which java does not recognize. I'm not too sure about what options I have to provide to automake and which are already builtin. Does anybody know an example of how a jni lib is built using automake?

How would one go about doing it without automake?
Like this:
gcc -c -fPIC myfile.c -o myfile.o
gcc -shared -lacl -Wl,-soname,mylib.so -o mylib.so myfile.o




reply via email to

[Prev in Thread] Current Thread [Next in Thread]