Re: Compiling libpqddll.lib win32 mingw msys

Поиск
Список
Период
Сортировка
От Keith Hutchison
Тема Re: Compiling libpqddll.lib win32 mingw msys
Дата
Msg-id 45435c1a0609021943rb811d05se691bf222e27eb94@mail.gmail.com
обсуждение исходный текст
Ответ на Compiling libpqddll.lib win32 mingw msys  ("Keith Hutchison" <keith.kjtl.hutchison@gmail.com>)
Список 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

В списке pgsql-general по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: invalid byte sequence ?
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: Array comparison - subset