[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: lua 5.2 : modifying the way lua lib is built with mingw
- From: Vincent Torri <vincent.torri@...>
- Date: Mon, 22 Mar 2010 10:02:03 +0100
another : with linking against a dll, you have to be sure that the dll is in the PATH, and you have to redistribute the dll too with your app / lib
On Mon, Mar 22, 2010 at 12:12 AM, Vincent Torri <firstname.lastname@example.org>
See http://sourceware.org/binutils/docs/ld/WIN32.html , section "direct linking to a dll". It gives pro and cons of linking against a DLL and against an import lib
On Sun, Mar 21, 2010 at 11:40 PM, Wolfgang Pupp <email@example.com>
2010/3/21 Vincent Torri <firstname.lastname@example.org>:
> It would be better to have the import and static library if one wants to use> the DLL in a lib or program. [...]
Just curious- what would you need the import-lib for?
I'm using mingw myself, and I always link directly with the dll- are
there any disadvantages I'm not aware of?
I see another reason : delayed loading of a DLL
So it depends on your goals.