Re: Compiling libpqddll.lib win32 mingw msys

From: "Keith Hutchison" <keith(dot)kjtl(dot)hutchison(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Compiling libpqddll.lib win32 mingw msys
Date: 2006-09-03 02:43:16
Message-ID: 45435c1a0609021943rb811d05se691bf222e27eb94@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Context postgres-8.1.3. win32

Found out to get libpqddll this had to be compiled with
the VS compiler.

Using the following steps.
.
1. Download the MS Platform SDK
http://download.microsoft.com/download/a/5/f/a5f0d781-e201-4ab6-8c6a-9bb4efed1e1a/PSDK-x86.exe
2. Change pg_config.h line 11 to have a closing quote on a string
3. Set paths to include
C:\Program Files\Microsoft Platform SDK\Include and
C:\Program Files\Microsoft Platform SDK\Lib
4. change fe-connector.c to include a reference for ShFolder.h
#include <ShFolder.h>
5. compile release files using nmake /f win32.mak and debug files
using nmake /f win32.mak DEBUG=1 from the src folder for
postgresql-8.1.3.

The binaries don't compile but the libraries and dlls do.

--
Keith Hutchison
http://balance-infosystems.com http://realopen.org

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2006-09-03 04:48:09 Re: Array comparison - subset
Previous Message Bruce Momjian 2006-09-02 22:55:24 Re: invalid byte sequence ?