Re: Linking against static libpq using Visual C++

Поиск
Список
Период
Сортировка
От Julia Jacobson
Тема Re: Linking against static libpq using Visual C++
Дата
Msg-id 4D94583C.7060604@arcor.de
обсуждение исходный текст
Ответ на Re: Linking against static libpq using Visual C++  (Magnus Hagander <magnus@hagander.net>)
Список 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

В списке pgsql-general по дате отправления:

Предыдущее
От: Gianni Ciolli
Дата:
Сообщение: Re: read-only UNLOGGED tables
Следующее
От: Leonardo Francalanci
Дата:
Сообщение: Re: read-only UNLOGGED tables