Re: BUG #1311: Can't crosscompile - Mailing list pgsql-bugs

From Richard Evans
Subject Re: BUG #1311: Can't crosscompile
Date
Msg-id 4763BEDA.4040902@blueallegro.net
Whole thread Raw
In response to BUG #1311: Can't crosscompile  ("PostgreSQL Bugs List" <pgsql-bugs@postgresql.org>)
List pgsql-bugs
The man page for tzfile(5) makes it clear that timezone files are
written in a portable format (big-endian always).  So it is feasible to
run zic on the build system in a cross-compile.

Surely the simplest fix is to provide a configure option allows the use
of the host systems own /zic /command?  Something like --with-system-zic.

Then cross compiles from any Unix-like system with a suitable zic will
work fine.

Richard

pgsql-bugs by date:

Previous
From: "Avanttec Medical System"
Date:
Subject: BUG #3817: about service
Next
From: "Richard Evans"
Date:
Subject: BUG #3818: Cross compilation problems