Re: Include files for static VC libpq.lib

From: Edin Kadribasic <edink(at)emini(dot)dk>
To: Magnus Hagander <mha(at)sollentuna(dot)net>
Cc: pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: Include files for static VC libpq.lib
Date: 2005-01-23 17:24:00
Message-ID: 41F3DDB0.4070506@emini.dk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32

Magnus Hagander wrote:
> There is no such support in the VC Makefiles. It's only supported in the
> MingW build.

Ok, thanks for the info. I just wanted to make sure that I wasn't
missing something and making things more difficult for me.

> 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?
PHP distribution has too many dlls alredy which is why I'm compiling
php_pgsql.dll with the libpq built in.

Edin

In response to

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Magnus Hagander 2005-01-23 17:26:49 Re: Include files for static VC libpq.lib
Previous Message Bruce Momjian 2005-01-23 16:08:01 Re: [pgsql-hackers-win32] pg_restore