From: Tom Lane <tgl@sss.pgh.pa.us>
To: MicazMAK <emoazzam@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Cross Compile
Date: Mon, 02 Apr 2007 00:23:35 -0400
Message-ID: <24735.1175487815@sss.pgh.pa.us> (raw)
In-Reply-To: <184368.532.qm@web36814.mail.mud.yahoo.com>
References: <184368.532.qm@web36814.mail.mud.yahoo.com>
MicazMAK <emoazzam@yahoo.com> writes:
> I am trying to cross compile postgresql for ARM platform. I am configure it on my linux enironment. Configure is done without any errors but when I make it gives me error like cannot execute binary file.
Offhand I'd think that "make" should work but "make install" would have
a problem because it tries to run "zic" which will have been built for
the target platform. The easiest solution might be to copy over zic
and the timezone data files, and do that step on the target. Or you
could recompile zic for the source platform (it doesn't need to get
installed).
If that's not it, you need to provide more details.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, emoazzam@yahoo.com
Subject: Re: Cross Compile
In-Reply-To: <24735.1175487815@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox