This page describes how to build the PostgreSQL ODBC Driver (psqlodbc.dll) on Win32 platforms. Microsoft Visual C++ version 6.0 or higher is required. Other compilers may work but have not been formally tested. The psqlodbc.dll may be built either in the VC++ IDE or from the command line:
A Microsoft Visual C++ 6.0 project file (and workspace) is included in the source tree. Simply load the project, and build whichever configurations you prefer.
C:\psqlodbc\> nmake /f win32.mak CFG=Release ALL