[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Auto-tools & Win32 & Borland C++ Builder
From: |
Warren Young |
Subject: |
Re: Auto-tools & Win32 & Borland C++ Builder |
Date: |
Thu, 24 May 2001 10:46:42 -0600 |
Axel Thimm wrote:
>
> Where I am totally in the dark is libtool and dlls. Borland (or better said
> Windows?) seems to have three modes of library creation/usage
Yes, Libtool -- or rather, modern Unixes, and therfore Libtool also --
supports these modes. Taking them in order:
> a) ordinary static (like .a),
You've got that one nailed.
> b) "dynamically loading a .dll": calling LoadLibrary
This is dlopen() under modern Unixes, and libtool puts a veneer over
that called libltdl. See chapter 17 (18 in the online version?) of the
autobook.
> c) "statically linking with a .dll": like statically linking against a stub .a
> which references the dll.
This is normal libtool *.so usage.
The main differences have to do with platform limits, not the
autotools. For example, a Windows DLL can't reference symbols in the
linking application, whereas shared objects on most Unixen can.
--
= Warren -- Video articles: http://www.cyberport.com/~tangent/video/
=
= ICBM Address: 36.8274040 N, 108.0204086 W, alt. 1714m
- Re: Auto-tools & Win32 & Borland C++ Builder, (continued)
- Re: Auto-tools & Win32 & Borland C++ Builder, Peter Eisentraut, 2001/05/23
- Re: Auto-tools & Win32 & Borland C++ Builder, Tom Tromey, 2001/05/23
- Re: Auto-tools & Win32 & Borland C++ Builder, Mike Castle, 2001/05/23
- Re: Auto-tools & Win32 & Borland C++ Builder, Peter Eisentraut, 2001/05/24
- Re: Auto-tools & Win32 & Borland C++ Builder, Mike Castle, 2001/05/24
- Re: Auto-tools & Win32 & Borland C++ Builder, Ralf Corsepius, 2001/05/24
- Re: Auto-tools & Win32 & Borland C++ Builder, Peter Eisentraut, 2001/05/24
Re: Auto-tools & Win32 & Borland C++ Builder, Axel Thimm, 2001/05/24