Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

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: Sun, 23 Jan 2005 18:26:49 +0100
  • Message-id: <6BCB9D8A16AC4241919521715F4D8BCE4766C3(at)algol(dot)sollentuna(dot)se>

>> 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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group