Re: cross compiling postgresql 8.0.1 -- suggestion

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Vladimir Bychkovsky <vladimir(dot)bychkovsky(at)gmail(dot)com>, pgsql-ports(at)postgresql(dot)org
Subject: Re: cross compiling postgresql 8.0.1 -- suggestion
Date: 2005-03-11 03:45:25
Message-ID: 200503110345.j2B3jPF24292@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

Tom Lane wrote:
> Vladimir Bychkovsky <vladimir(dot)bychkovsky(at)gmail(dot)com> writes:
> > A simple solution to this problem is to remove target zic from 'all'
> > and add it to 'install' target. see attached patch.
>
> This is no solution at all, surely. Why would you assume that make
> install is going to be done by the target architecture, or that the
> target even has a compiler (much less the same compiler that the build
> tree has been configured for)? Besides, the problem isn't *building*
> zic, it is *running* it.
>
> > Please let me know if there is a better way to solve this problem.
>
> There is prior discussion of this problem in the archives, but AFAIR
> we didn't yet find a solution that people liked.

Added to TODO:

* Fix cross-compiling of time zone database via 'zic'

I am open to better wording.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-ports by date

  From Date Subject
Next Message Veera Sivakumar 2005-03-16 09:18:24 postmaster: cannot create INET stream port
Previous Message Chris Langlois 2005-03-08 04:54:40 Re: question about connecting a database