Re: [BUGS] BUG #3818: Cross compilation problems

2007-12-15 Thread Tom Lane
Richard Evans <[EMAIL PROTECTED]> writes: >> --with-system-tzdata already solves the zic problem. > If the target system does not have system tzdata, (mingw for example), > you still need to run zic during the cross compile process. No, you just need to physically copy a tzdata tree onto the tar

Re: [BUGS] BUG #3818: Cross compilation problems

2007-12-15 Thread Richard Evans
Richard Evans wrote: The following bug has been logged online: Bug reference: 3818 Logged by: Richard Evans Email address: [EMAIL PROTECTED] PostgreSQL version: 8.3beta Operating system: Linux/windows Description:Cross compilation problems Details: I've been inves

Re: [BUGS] BUG #3818: Cross compilation problems

2007-12-15 Thread Richard Evans
If the target system does not have system tzdata, (mingw for example), you still need to run zic during the cross compile process. I just thought that using the build systems own zic was the simplest way to do this. In my tests I edited the Makefile in src/timezone and changed ./zic to just

Re: [BUGS] BUG #3818: Cross compilation problems

2007-12-15 Thread Tom Lane
Magnus Hagander <[EMAIL PROTECTED]> writes: > Richard Evans wrote: >> 4. The zic problem in make install - see bug #1311. Simple solution here is >> to have a configure option which allows the use of the build systems own zic >> command. > The rest of this is definitely not 8.3 material. But if y

Re: [BUGS] BUG #3818: Cross compilation problems

2007-12-15 Thread Magnus Hagander
Richard Evans wrote: > The following bug has been logged online: > > Bug reference: 3818 > Logged by: Richard Evans > Email address: [EMAIL PROTECTED] > PostgreSQL version: 8.3beta > Operating system: Linux/windows > Description:Cross compilation problems > Details: >

[BUGS] BUG #3818: Cross compilation problems

2007-12-15 Thread Richard Evans
The following bug has been logged online: Bug reference: 3818 Logged by: Richard Evans Email address: [EMAIL PROTECTED] PostgreSQL version: 8.3beta Operating system: Linux/windows Description:Cross compilation problems Details: I've been investigating cross-compilin

Re: [BUGS] BUG #1311: Can't crosscompile

2007-12-15 Thread Richard Evans
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 /comman