Re: BUG #3818: Cross compilation problems - Mailing list pgsql-bugs

From Richard Evans
Subject Re: BUG #3818: Cross compilation problems
Date
Msg-id 48B0773E.3090103@blueallegro.net
Whole thread Raw
In response to Re: BUG #3818: Cross compilation problems  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: BUG #3818: Cross compilation problems
List pgsql-bugs
Running make inside the msys shell, I get:

/c/misc/mingw/bin
c:/misc/mingw/bin
/c/misc/mingw/bin

running inside a plain DOS command window, I get:

/mingw/bin
c:/misc/mingw/bin
/mingw/bin

Msys/mingw have these funny 'system' mounts.  However it looks like that
/pwd -W/ gives the most sensible output in both cases.  Must be why it's
there.

Richard

> Richard Evans wrote:
>
>> I'm not sure why the makefiles need the current directory. pwd -W is
>> specific to mingw, I think it gives the directory in windows format.  It
>> has to be changed for cross compilation otherwise you get errors.
>>
>
> What does $(CURDIR) resolve to on mingw?  Try the following makefile:
>
> default:
>         @echo $(shell pwd)
>         @echo $(shell pwd -W)
>         @echo $(CURDIR)
>
>

pgsql-bugs by date:

Previous
From: "Hiroshi Saito"
Date:
Subject: Re: BUG #4274: uuid returns duplicate values
Next
From: "Eric P. Melbardis"
Date:
Subject: Re: BUG #4274: uuid returns duplicate values