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

From Bruce Momjian
Subject Re: BUG #3818: Cross compilation problems
Date
Msg-id 200812062302.mB6N25r09573@momjian.us
Whole thread Raw
In response to Re: BUG #3818: Cross compilation problems  (Richard Evans <richard.evans@blueallegro.net>)
Responses Re: BUG #3818: Cross compilation problems  (Peter Eisentraut <peter_e@gmx.net>)
List 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@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

pgsql-bugs by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: BUG #4563: Translation of errors.
Next
From: "chris wood"
Date:
Subject: Re: question/suggestion Message-id: <493823B5.1030400@hogranch.com>