Re: cross compiling postgresql 8.0.1 -- suggestion

From: Vladimir Bychkovsky <vladimir(dot)bychkovsky(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-ports(at)postgresql(dot)org
Subject: Re: cross compiling postgresql 8.0.1 -- suggestion
Date: 2005-03-05 20:41:04
Message-ID: ac229944050305124193a8024@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

On Sat, 05 Mar 2005 15:00:38 -0500, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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.

In response to

Responses

Browse pgsql-ports by date

  From Date Subject
Next Message Vladimir Bychkovsky 2005-03-07 15:20:42 initdb problem "ShmemIndex entry size is wrong"
Previous Message Tom Lane 2005-03-05 20:00:38 Re: cross compiling postgresql 8.0.1 -- suggestion