Hello,
just an other question for my software porting project ....
I'm using libtool to create libraries on unix and windows
on both system it works fine.
later I use this library in java code as JNI library
with:
System.loadLibrary("javamsgque");
this works fine on UNIX because libtool create the library
libjavamsgque.so
from the automake rule
pkglib_LTLIBRARIES = libjavamsgque.la
The problem is windows because libtool on windows create
cygjavamsgque.dll
and this library have to be loaded with
System.loadLibrary("cygjavamsgque");
as special restriction I use the build-tools from cygwin
but it is no cygwin library at all because I use the
build-in mingw compiler
gcc -mno-cygwin
and the library is a real windows libraray ...
question: howto avoid the cyg prefix ?
thanks for help
_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool