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