Re: cross compiling postgresql 8.0.1 -- suggestion - Mailing list pgsql-ports

From Vladimir Bychkovsky
Subject Re: cross compiling postgresql 8.0.1 -- suggestion
Date
Msg-id ac229944050305124193a8024@mail.gmail.com
Whole thread Raw
In response to Re: cross compiling postgresql 8.0.1 -- suggestion  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: cross compiling postgresql 8.0.1 -- suggestion  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-ports
On Sat, 05 Mar 2005 15:00:38 -0500, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> This is no solution at all, surely.  Why would you assume that make
> install is going to be done by the target architecture, or that the
> target even has a compiler (much less the same compiler that the build
> tree has been configured for)?  Besides, the problem isn't *building*
> zic, it is *running* it.

I apologize for being unclear. I assume that build system has a native
and a cross compiler. I don't assume anything about the target (In my
case target does not have a compiler). Installation happens on the
build system with DISTDIR pointing to an image root directory. Later
image is transfered to the target system.

> There is prior discussion of this problem in the archives, but AFAIR
> we didn't yet find a solution that people liked.

I'd appreciate it if you could send me a pointer to that discussion.
My search was fruitless.

Thanks,
Vlad.

pgsql-ports by date:

Previous
From: Tom Lane
Date:
Subject: Re: cross compiling postgresql 8.0.1 -- suggestion
Next
From: Vladimir Bychkovsky
Date:
Subject: initdb problem "ShmemIndex entry size is wrong"