libtool
[Top][All Lists]
Advanced

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

problem with libtool under windows and cygwin


From: Andreas Otto
Subject: problem with libtool under windows and cygwin
Date: Thu, 9 Apr 2009 09:24:03 +0200
User-agent: KMail/1.9.6 (enterprise 20070904.708012)

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




reply via email to

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