Re: pg_regress breaks on msys - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_regress breaks on msys
Date
Msg-id 16242.1153346020@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_regress breaks on msys  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pg_regress breaks on msys  (Andrew Dunstan <andrew@dunslane.net>)
List 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 by date:

Previous
From: Joe Conway
Date:
Subject: Re: [PATCHES] 8.2 features?
Next
From: Peter Eisentraut
Date:
Subject: Re: pgxs problem