From: | Julia Jacobson <julia(dot)jacobson(at)arcor(dot)de> |
---|---|
To: | Magnus Hagander <magnus(at)hagander(dot)net> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Linking against static libpq using Visual C++ |
Date: | 2011-03-31 10:32:28 |
Message-ID: | 4D94583C.7060604@arcor.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi,
Although I finally managed to build libpq using Visual C++, I'm
continuously experiencing problems with this IDE.
Therefore I switched to MinGW and it was indeed easy to compile libpq
with it from the first time on.
However, I'm experiencing the same problem as discussed on
http://archives.postgresql.org/pgsql-hackers-win32/2004-10/msg00010.php
Although linking the static compilation product libpq.a (106 Kb in size)
to my application, the application only runs with libpq being present.
This is confirmed by running depends.exe on it, which tells me that the
application still depends on libpq.
I'm using PostgreSQL version 8.4.6 and the current version of MinGW/MSys.
How can I get a really static libpq and not one that still imports the
dynamic link libraries?
Thanks in advance,
Julia
From | Date | Subject | |
---|---|---|---|
Next Message | Leonardo Francalanci | 2011-03-31 11:24:01 | Re: read-only UNLOGGED tables |
Previous Message | Zheng Yang | 2011-03-31 08:55:29 | Re: foreign data wrappers |