From: | "Magnus Hagander" <mha(at)sollentuna(dot)net> |
---|---|
To: | "Edin Kadribasic" <edink(at)emini(dot)dk> |
Cc: | <pgsql-hackers-win32(at)postgresql(dot)org> |
Subject: | Re: Include files for static VC libpq.lib |
Date: | 2005-01-23 13:06:12 |
Message-ID: | 6BCB9D8A16AC4241919521715F4D8BCE4766BE@algol.sollentuna.se |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers-win32 |
>> >Hi,
>> >
>> >I'm upgrading libpq bundled in PHP win32 distribution. I have
>> >no problem
>> >compiling static libpq.lib using bundled makefiles and
>msvc++. However
>> >getting the needed include files is bit more difficult. So far
>> >I have been
>> >installing pgsql on a linux box, took its include files and replaced
>> >pg_config.h with the one used for msvc++ build. Is there an
>> >easier way to do
>> >that? Adding some sort of "make install" would be handy as well.
>>
>> If you build with MingW you will have access to more or less
>everything
>> that the unix builds has. Such as the "make install" command...
>
>Yes, I'm aware of that. However that doesn't change the
>situation much. I
>still need to build VC lib using msvc++ and then make the
>whole postgresql
>with mingw. At least linux build/install is faster :) I was
>looking for "make
>install" in VC makefile which would make include dir with
>neccessary .h files
>in it.
There is no such support in the VC Makefiles. It's only supported in the
MingW build.
FWIW, you can build the VC libs from the DEF file - we do so in the
installer. You just run
LINK /LIB /MACHINE:x86 /def:libpqdll.def /out:libpq.lib /name:libpq.dll
//Magnus
From | Date | Subject | |
---|---|---|---|
Next Message | Magnus Hagander | 2005-01-23 14:04:27 | Re: Invalid username specified |
Previous Message | Paul Kirschner | 2005-01-23 03:06:45 | Re: Invalid username specified |