Re: [pgsql-patches] [PATCHES] Building libpq/psql with Borland BCC5

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: [pgsql-patches] [PATCHES] Building libpq/psql with Borland BCC5
Дата
Msg-id b42b73150701101217t79342b61l7038a2c2352ecac3@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PATCHES] Building libpq/psql with Borland BCC5  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
On 1/10/07, Alvaro Herrera <alvherre@commandprompt.com> wrote:

> What about a Mingw or VC++ psql with a BCC libpq?  Is it possible to
> link something like that?
>
> It would be nice to have the libpq at least able to pass the regression
> tests.

you can use microsoft/mingw compiled DLL files but not library files.
however, borland provides a command line tool (implib i thnk) to
create an import library for it which works ok. (i think you have to
pass a switch to fix underscore issue).

libpq.lib is not directly usable (coff vs. omf) but digital mars makes
a tool which can do this and I have confirmed it works.

note: I've used borland compiled libpq (not psql) with borland C++
builder 3 & 5 with no problems. I had to hack pg_config.h however.

merlin

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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: installcheck vs regression DLLs
Следующее
От: Tom Lane
Дата:
Сообщение: Re: installcheck vs regression DLLs