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:49:27
Message-ID: 41F3E3A7.807@emini.dk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32

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

In response to

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Jonathan Barnhart 2005-01-24 01:05:16 Automatic installs
Previous Message Magnus Hagander 2005-01-23 17:26:49 Re: Include files for static VC libpq.lib