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

From Alvaro Herrera
Subject Re: BUG #3818: Cross compilation problems
Date
Msg-id 20080811004949.GB3945@alvh.no-ip.org
Whole thread Raw
In response to Re: BUG #3818: Cross compilation problems  (Richard Evans <richard.evans@blueallegro.net>)
List pgsql-bugs
Richard Evans wrote:

> 1. configure.in detecting the target system versions of dllwrap,
> dlltool, windres and ar
> 2. in various makefiles, checking BUILDOS not PORTNAME when deciding
> whether to use 'pwd -W' or just 'pwd'
> 3. Using the local system's 'zic' command when cross compiling, adding a
> --with-zic option to  configure.in in case zic is not in the path (on my
> fedora 9 system it is in /usr/sbin/zic).
> 4. Some path  tweaks in the make files to allow the cross compile build
> to occur outside the the source directory.
> 5. Working round a binutils-2.18 bug in windres when the rc file has /
> or \ in the path

I think part (4) makes plenty of sense just to enable VPATH building.  I
guess nobody has tried VPATH on cygwin.

I can't comment on the rest of the changes, but most of them seem to be
reasonable.  I think the "pwd" stuff should be done in a makefile
template.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-bugs by date:

Previous
From: Gregory Stark
Date:
Subject: Re: ALTER TABLE name RENAME TO new_name; does notworkimmediately
Next
From: Peter Eisentraut
Date:
Subject: Re: BUG #4344: initdb -L timezone directory