Re: Fix for cross compilation

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Fix for cross compilation
Date: 2005-05-31 14:41:21
Message-ID: 11974.1117550481@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> Am Montag, 30. Mai 2005 20:11 schrieb Tom Lane:
>> Why don't we instead arrange to run it during install?

> It does currently run during the install. How does that help?

I'm sorry, I meant "later than it is now". Presumably the person doing
the cross-compile has *some* access to the target hardware and could run
the zic program on that hardware. During the regular install step of a
cross-compile build, instead of trying to run zic, we'd have to copy
zic, the timezone source data files, and probably a small shell script
into the install tree. Then at some later point the user would have to
invoke the shell script on the target hardware in order to finish the
installation. Kinda messy, I agree, but at least it will work reliably.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-05-31 14:44:58 Re: A 2 phase commit weirdness
Previous Message Tom Lane 2005-05-31 14:24:16 Re: Cost of XLogInsert CRC calculations