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: 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: Sun, 23 Jan 2005 18:49:27 +0100
  • Message-id: <41F3E3A7(dot)807(at)emini(dot)dk>

Magnus Hagander wrote:
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?

Not really. The layout is changed by make install so for example libpq-fe.h gets installed in $prefix/include while in the source tree its at src/interfaces/libpq. The layout of include files is major headache. Take pg_type.h for example.

RPM installs it at:
$prefix/include/pgsql/server/catalog

"make install" on unix:
$prefix/include/postgresql/server/catalog

"make install" on windows with mingw:
$prefix/include/server/catalog

libpq-fe.h is installed in $prefix/include in all 3 cases.

Edin





Home | Main Index | Thread Index

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