[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: win32 mingw, linking with a mix of static and dynamic libraries
From: |
Ralf Wildenhues |
Subject: |
Re: win32 mingw, linking with a mix of static and dynamic libraries |
Date: |
Fri, 16 Jun 2006 13:57:39 +0200 |
User-agent: |
Mutt/1.5.11 |
Hello Wesley,
* Wesley Leggette wrote on Thu, Jun 15, 2006 at 02:28:33AM CEST:
>
> 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.
Are you creating a program or another library? Could you post the
./libtool --mode=link
line and its output?
(There is an open bug which may or may not relate to your bug report.)
Is this GNU/Linux -> MinGW? The Debian cross package?
> Also, it's my understanding that libfoo.dll.a is for most packages the
> name of the import library.
Yes.
> By linking to this, does my new executable
> then depend on libfoo.dll as expected?
Yes, I think this should be true.
Cheers,
Ralf