From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel Subject: Cross-compiling Guile 2.0 Date: Sat, 05 Mar 2011 19:47:14 +0000 Message-ID: <87hbbhbb99.fsf@ossau.uklinux.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1299354462 7094 80.91.229.12 (5 Mar 2011 19:47:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 5 Mar 2011 19:47:42 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Mar 05 20:47:38 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PvxRx-0001R1-19 for guile-devel@m.gmane.org; Sat, 05 Mar 2011 20:47:37 +0100 Original-Received: from localhost ([127.0.0.1]:45867 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PvxRw-00039Z-GT for guile-devel@m.gmane.org; Sat, 05 Mar 2011 14:47:36 -0500 Original-Received: from [140.186.70.92] (port=45297 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PvxRh-00037o-BX for guile-devel@gnu.org; Sat, 05 Mar 2011 14:47:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PvxRe-0007kw-Fr for guile-devel@gnu.org; Sat, 05 Mar 2011 14:47:19 -0500 Original-Received: from mail3.uklinux.net ([80.84.72.33]:44290) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PvxRe-0007kV-AQ for guile-devel@gnu.org; Sat, 05 Mar 2011 14:47:18 -0500 Original-Received: from arudy (unknown [78.149.123.160]) by mail3.uklinux.net (Postfix) with ESMTP id F31BC1F663A for ; Sat, 5 Mar 2011 19:47:16 +0000 (GMT) Original-Received: from neil-laptop (unknown [192.168.11.4]) by arudy (Postfix) with ESMTP id 1995A3801E for ; Sat, 5 Mar 2011 19:47:15 +0000 (GMT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 80.84.72.33 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:11781 Archived-At: In principle, how should Guile 2.0 be cross-compiled? I'm thinking mostly of the part of the build that compiles all the installed modules. I think target emulation is needed, using QEMU, and in particular that it wouldn't work to set GUILE_FOR_BUILD to a build-system-native guile, because that would generate .go files with the wrong architecture. Alternatively, I suppose another approach would be to defer the module compilation part of the build until after installation on the target. Does that sound right? Are there any other possibilities? (The target is my Openmoko Freerunner phone.) Thanks, Neil