Re: Include files for static VC libpq.lib

Поиск
Список
Период
Сортировка
От Edin Kadribasic
Тема Re: Include files for static VC libpq.lib
Дата
Msg-id 41F3E3A7.807@emini.dk
обсуждение исходный текст
Ответ на Re: Include files for static VC libpq.lib  ("Magnus Hagander" <mha@sollentuna.net>)
Список 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 по дате отправления:

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: Re: Include files for static VC libpq.lib
Следующее
От: Jonathan Barnhart
Дата:
Сообщение: Automatic installs