|
From: | Wesley Leggette |
Subject: | win32 mingw, linking with a mix of static and dynamic libraries |
Date: | Wed, 14 Jun 2006 19:28:33 -0500 |
User-agent: | Thunderbird 1.5.0.4 (Windows/20060516) |
Hello,I'm trying to link to a mix of both dll and .a files with a mingw cross compiler, but only linking to a dll works. gcc tells me that -lpqxx (for example) does not exist when only libpqxx.a is in the lib path.
Is such a mix possible? If so, is there a specific method for getting this to work?
Also, it's my understanding that libfoo.dll.a is for most packages the name of the import library. By linking to this, does my new executable then depend on libfoo.dll as expected?
Thanks, Wesley Leggette
[Prev in Thread] | Current Thread | [Next in Thread] |