From: | "Merlin Moncure" <mmoncure(at)gmail(dot)com> |
---|---|
To: | "Bruce Momjian" <bruce(at)momjian(dot)us>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org, "Gavin Sherry" <swm(at)linuxworld(dot)com(dot)au>, "L Bayuk" <lbayuk(at)pobox(dot)com>, pgsql-patches(at)postgresql(dot)org |
Subject: | Re: [HACKERS] [PATCHES] Building libpq/psql with Borland BCC5 |
Date: | 2007-01-10 20:17:40 |
Message-ID: | b42b73150701101217t79342b61l7038a2c2352ecac3@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
On 1/10/07, Alvaro Herrera <alvherre(at)commandprompt(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Jim C. Nasby | 2007-01-10 20:24:42 | Re: table partioning performance |
Previous Message | Magnus Hagander | 2007-01-10 20:14:35 | installcheck vs regression DLLs |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2007-01-11 00:07:44 | Remove of .SECONDARY from SGML Makefile |
Previous Message | Stefan Kaltenbrunner | 2007-01-10 18:38:42 | Re: [PATCHES] fix build on Solaris 10/x86_64 in 64bit mode with Sun |