| From: | Richard Evans <richard(dot)evans(at)blueallegro(dot)net> |
|---|---|
| To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
| Cc: | pgsql-bugs(at)postgresql(dot)org |
| Subject: | Re: BUG #3818: Cross compilation problems |
| Date: | 2008-08-23 20:46:54 |
| Message-ID: | 48B0773E.3090103@blueallegro.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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)
>
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | tomas | 2008-08-24 08:18:04 | Re: BUG #4274: uuid returns duplicate values |
| Previous Message | Hiroshi Saito | 2008-08-23 17:30:23 | Re: BUG #4274: uuid returns duplicate values |