Search Postgresql Archives

Re: Compiling libpqddll.lib win32 mingw msys

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux