Re: Include files for static VC libpq.lib - Mailing list pgsql-hackers-win32

From Edin Kadribasic
Subject Re: Include files for static VC libpq.lib
Date
Msg-id 41F3E3A7.807@emini.dk
Whole thread Raw
In response to Re: Include files for static VC libpq.lib  ("Magnus Hagander" <mha@sollentuna.net>)
List 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



pgsql-hackers-win32 by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: Include files for static VC libpq.lib
Next
From: Jonathan Barnhart
Date:
Subject: Automatic installs