Problem with getting static libpq.a from PostgresSQL 8.2.4 sources using MinGW
В списке pgsql-interfaces по дате отправления:
| От | Robert Ayrapetyan |
|---|---|
| Тема | Problem with getting static libpq.a from PostgresSQL 8.2.4 sources using MinGW |
| Дата | |
| Msg-id | 692511163.20070917162346@comodo.com обсуждение исходный текст |
| Ответы |
Re: Problem with getting static libpq.a from PostgresSQL 8.2.4 sources using MinGW
|
| Список | pgsql-interfaces |
Hello, Problem with getting static libpq.a from PostgresSQL 8.2.4 sources using MinGW. In documentation regarding Win32 (http://www.postgresql.org/docs/8.2/interactive/install-win32.html) there is remarked that after building we will have following binaries: interfaces\libpq\Release\libpq.dll The dynamically linkable frontend library interfaces\libpq\Release\libpqdll.lib Import library to link your programs to libpq.dll interfaces\libpq\Release\libpq.lib Static version of the frontend library And I really got them (libpq.lib - 323Kb, pibpq.dll - 104Kb, libpqdll.lib - 26,6Kb) There is nothing remarked about MinGW installation. But after building with MingW I have got libpq.dll (size 149Kb) and libpq.a(size 96Kb). Problem is that I can't link any app statically with libpq.a - libpq.dll always appears in dependencies. Question is: how to get REAL static libpq.a with mingw?
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера