Re: build WIN32 ODBC using VC++, not Cygwin/gcc

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Fred Yankowski <fred(at)ontosys(dot)com>
Cc: <pgsql-hackers(at)postgresql(dot)org>, <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: build WIN32 ODBC using VC++, not Cygwin/gcc
Date: 2001-02-05 19:06:28
Message-ID: Pine.LNX.4.30.0102051904490.762-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-odbc

Fred Yankowski writes:

> To build the PostgreSQL ODBC driver from CVS (or a recent
> snapshot/beta, I presume): the following steps worked for me:
[snip]
> + Run 'configure' _without_ '--with-odbc' to build PostgreSQL.

I doubt you need that, since you don't use the makefiles.

[snip]

> Building with '--with-odbc' will appear to work, but the resulting DLL
> (created by Cygwin gcc/tools) completely fails to work for me once
> installed. (It would have been nice if the documentation gave a hint
> about this. Or did I miss it?

Something more detailed thatn "completely fails to work" might shed some
light onto it.

> The presense of the readme.txt file does not suffice to make it clear
> that VC++ is the _only_ correct way to build the module for WIN32.)

True, it is not a very prominent place to hide such a thing. Maybe it
would be appropriate to mention it in the "Installation on Windows"
chapter in the Administrator's Guide or alternatively in the ODBC chapter
in the Programmer's Guide.

Can somebody explain to me what this means, from said readme.txt:

"In order to use row versioning, you must overload the int4eq function for
use with the xid type."

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Schmidt 2001-02-05 19:09:44 pg_dump data integrity & java
Previous Message Mathieu Dube 2001-02-05 18:45:35 Re: Re: 1024 limits??

Browse pgsql-odbc by date

  From Date Subject
Next Message Fred Yankowski 2001-02-05 19:37:06 Re: build WIN32 ODBC using VC++, not Cygwin/gcc
Previous Message David Zoll 2001-02-05 17:06:35 Invalid Page Fault in PSQLODBC.DLL