Re: pg_regress breaks on msys

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_regress breaks on msys
Дата
Msg-id 16242.1153346020@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_regress breaks on msys  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg_regress breaks on msys  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
I wrote:
> I don't see where cwd enters into it.  The thing I don't understand is
> that the value of the make variable $(bindir) is apparently changing.
> How can it, when it's been hard-wired into Makefile.global by configure?

After some googling I gather that msys' make has been hacked to
transform paths between actual Windows paths and virtual paths
at what-they-think-are-strategic spots.  If this is correct, then
I think our problem is that the method I used to inject the values
of $(bindir) and friends into pg_regress.c ends up supplying actual
Windows paths, where we would much rather it supplied virtual paths.

An alternative method I had considered using was to have pg_regress.c
get the paths by #including pg_config_paths.h.  Can anyone say whether
pg_config_paths.h receives real or virtual paths when building under
mingw?
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: [PATCHES] 8.2 features?
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: pgxs problem