Re: Fix for cross compilation - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Fix for cross compilation
Date
Msg-id 11974.1117550481@sss.pgh.pa.us
Whole thread Raw
In response to Re: Fix for cross compilation  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Cost of XLogInsert CRC calculations
Next
From: Barnali
Date:
Subject: ddl triggers