Re: Include files for static VC libpq.lib

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 17:26:49
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE4766C3@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32

>> 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
>
>This would create dynamic lib (needing libpq.dll for the app), right?

Correct.

>PHP distribution has too many dlls alredy which is why I'm compiling
>php_pgsql.dll with the libpq built in.

Ok. Then you have no choice but building MSVC. But then you shouldn't
need to copy the includefiles - can't you just use them directly from
the source tree?

//Magnus

Responses

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Edin Kadribasic 2005-01-23 17:49:27 Re: Include files for static VC libpq.lib
Previous Message Edin Kadribasic 2005-01-23 17:24:00 Re: Include files for static VC libpq.lib