Skip site navigation (1) Skip section navigation (2)

Re: BUG #3818: Cross compilation problems

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Richard Evans <richard(dot)evans(at)blueallegro(dot)net>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #3818: Cross compilation problems
Date: 2008-08-11 00:49:50
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
Richard Evans wrote:

> 1. 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 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

Alvaro Herrera                      
The PostgreSQL Company - Command Prompt, Inc.

In response to

pgsql-bugs by date

Next:From: Peter EisentrautDate: 2008-08-11 10:36:21
Subject: Re: BUG #4344: initdb -L timezone directory
Previous:From: Gregory StarkDate: 2008-08-10 18:56:32
Subject: Re: ALTER TABLE name RENAME TO new_name; does notworkimmediately

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group