From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Richard Evans <richard(dot)evans(at)blueallegro(dot)net> |
Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: BUG #3818: Cross compilation problems |
Date: | 2008-12-06 23:02:05 |
Message-ID: | 200812062302.mB6N25r09573@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Where are we on this?
---------------------------------------------------------------------------
Richard Evans wrote:
> 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)
> >
> >
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
From | Date | Subject | |
---|---|---|---|
Next Message | chris wood | 2008-12-07 01:43:23 | Re: question/suggestion Message-id: <493823B5.1030400@hogranch.com> |
Previous Message | Heikki Linnakangas | 2008-12-06 16:55:11 | Re: BUG #4563: Translation of errors. |