Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 742949FB3FC for ; Mon, 2 Apr 2007 01:23:40 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 45028-04 for ; Mon, 2 Apr 2007 01:23:37 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 29B199FB290 for ; Mon, 2 Apr 2007 01:23:37 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id l324NZeY024736; Mon, 2 Apr 2007 00:23:36 -0400 (EDT) To: MicazMAK cc: pgsql-admin@postgresql.org Subject: Re: Cross Compile In-reply-to: <184368.532.qm@web36814.mail.mud.yahoo.com> References: <184368.532.qm@web36814.mail.mud.yahoo.com> Comments: In-reply-to MicazMAK message dated "Sun, 01 Apr 2007 16:47:53 -0700" Date: Mon, 02 Apr 2007 00:23:35 -0400 Message-ID: <24735.1175487815@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200704/4 X-Sequence-Number: 25068 MicazMAK 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