Re: pg_config --pgxs on Win32

From: Thomas Hallgren <thhal(at)mailblocks(dot)com>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Cc: tgl(at)sss(dot)pgh(dot)pa(dot)us, pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_config --pgxs on Win32
Date: 2005-10-13 18:44:55
Message-ID: thhal-0qkMqBMci8rQj72tX1q1ipJZ3wu2AHp@mailblocks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Dave Page wrote:
> We should probably document that pg_config may not work reliably with non-mingw tools in that case. Microsoft code may or may not do what is expected with front slashes.
>
> BTW Thomas - I thought you said \\ did work when you were testing options for me, or was that just msys rather than make?
>
That was when testing different paths in the Makefile.global. Apparenlty
a make never does a $(dir xxx) on those paths.

I do have a workaround in place that makes it work for me now. I do
$(dir $(subst \\,/,xxx)) and that works fine but given that the targeted
platform for pgxs on Win32 is MinGW, perhaps it should output forward
slashes anyway. Hmm, then again, perhaps only PL/Java does a $(dir xxx)
on the output.

Regards,
Thomas Hallgren

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Grittner 2005-10-13 18:52:10 Re: A costing analysis tool
Previous Message Robert Creager 2005-10-13 18:39:16 auto vacuum lock on 8.1beta1