On Sat, Sep 25, 2004 at 01:12:58PM +0400, Maarten Boekhold wrote:
> Hi,
> 
> Under cygwin I have a Makefile.am that generates a 'libtool --mode=link' 
> line that has references to libraries in it like 
> "../libs/libxffm_calls.la". When gcc is invoked, this is translated into 
> "../libs/.libs/libxffm_calls.dll.a", i.e. libtool chooses the *static* 
> version of the library to link against.

That is correct.  A .dll.a is a .a and therefore 'static' but
it is also very small: it only contains stubs that will call
the real functions in the .dll.  The .dll.a is 100% equivalent
to the .lib file that you'd be linking with under windows (and
could link with using gcc (on cygwin/mingw32) except that libtool
needs the extension .dll.a in order to recognize it.

-- 
Carlo Wood <[EMAIL PROTECTED]>


_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to