[Top][All Lists]

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

linking dll against static libs

From: Elmar Rudigier
Subject: linking dll against static libs
Date: Wed, 05 Oct 2005 13:34:32 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051003


I'm building a dll for jni, which has dependencies to some, with libtool static
builded, libs. I'm using cccl as compiler.

For win32 libtool prohibits linking shared libs against static libs and i get
following messages
*** Warning: This system can not link to static lib archive
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

But if i exclude the test from libtool, that libtool isn't comlpaining about,
cl.exe can link the dll against the static libs and this dll can be loaded
without problems from java.

So, why libtool prohibits this linking.


DI(FH) Elmar Rudigier               Salomon Automation GmbH
Softwareentwickler F&E              A-8114 Friesach bei Graz
fon: +43-3127-200-312               fax: +43-3127-200-202

reply via email to

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