Re: BUG #3818: Cross compilation problems

From: Richard Evans <richard(dot)evans(at)blueallegro(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #3818: Cross compilation problems
Date: 2007-12-15 18:17:28
Message-ID: 47641A38.6080304@blueallegro.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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 zic and it seemed to work fine.

Richard

> Magnus Hagander <magnus(at)hagander(dot)net> 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 you come up with
>> patches for 8.4, I'm sure we'd be interested ;-)
>>
>
> --with-system-tzdata already solves the zic problem.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>
>

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Richard Evans 2007-12-15 18:18:57 Re: BUG #3818: Cross compilation problems
Previous Message Tom Lane 2007-12-15 17:12:18 Re: BUG #3818: Cross compilation problems