Re: libpq++ on Windows

Поиск
Список
Период
Сортировка
От Christian Ullrich
Тема Re: libpq++ on Windows
Дата
Msg-id 20010701174549.A976@christian.chrullrich.de
обсуждение исходный текст
Ответ на Re: libpq++ on Windows  (Christian Ullrich <chris@chrullrich.de>)
Ответы Re: libpq++ on Windows  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-interfaces
* Christian Ullrich wrote on Sunday, 2001-07-01:

> I will look into it. It should be enough to get it to work via the
> GUI and export a Makefile (I wonder how they dare to call these

Well, I found it was easier to adapt the win32.mak for libpq.
So here is the patch.

Notes:

- The additions to config.h.in and config.h.win32 are not very elegant,
  especially config.h.in. But I need to export the classes, and that's
  the only way to go.

- The static library doesn't work. It asserts while connecting.
  I've tried to find the bug, but failed miserably.
  WSAStartup() returned success, so that shouldn't be the reason.

- The filenames are constructed like libpq's:
  - libpq++.dll: The working DLL.
  - libpq++.lib. The broken static library.
  - libpq++dll.lib: The DLL's import library.

Goodbye.

--
Christian Ullrich             Registrierter Linux-User #125183

"Sie können nach R'ed'mond fliegen -- aber Sie werden sterben"

Вложения

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

Предыдущее
От: Christian Ullrich
Дата:
Сообщение: Re: libpq++ on Windows
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: libpq++ on Windows