From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: Dealing with cross-compilation Date: Tue, 31 Mar 2009 12:04:36 -0700 Message-ID: References: <87prg49ppn.fsf@gnu.org> <87ocvo875p.fsf@gnu.org> <87r60kq9bc.fsf@arudy.ossau.uklinux.net> <87skl0vuex.fsf@gnu.org> <87iqlv2eyx.fsf@gnu.org> <873actn05f.fsf_-_@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1238526706 2521 80.91.229.12 (31 Mar 2009 19:11:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 31 Mar 2009 19:11:46 +0000 (UTC) Cc: guile-devel@gnu.org To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Mar 31 21:13:04 2009 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.50) id 1LojOQ-0005An-Fm for guile-devel@m.gmane.org; Tue, 31 Mar 2009 21:13:02 +0200 Original-Received: from localhost ([127.0.0.1]:56669 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LojN2-0004PR-Os for guile-devel@m.gmane.org; Tue, 31 Mar 2009 15:11:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LojMw-0004P7-Pq for guile-devel@gnu.org; Tue, 31 Mar 2009 15:11:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LojMr-0004Mb-Ig for guile-devel@gnu.org; Tue, 31 Mar 2009 15:11:29 -0400 Original-Received: from [199.232.76.173] (port=50199 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LojMr-0004MX-G7 for guile-devel@gnu.org; Tue, 31 Mar 2009 15:11:25 -0400 Original-Received: from a-sasl-fastnet.sasl.smtp.pobox.com ([207.106.133.19]:60212 helo=sasl.smtp.pobox.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LojMn-0007Sy-4i; Tue, 31 Mar 2009 15:11:21 -0400 Original-Received: from localhost.localdomain (unknown [127.0.0.1]) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTP id 72324A62BB; Tue, 31 Mar 2009 15:11:20 -0400 (EDT) Original-Received: from unquote (unknown [66.92.56.34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTPSA id D6F3EA62BA; Tue, 31 Mar 2009 15:11:18 -0400 (EDT) In-Reply-To: <873actn05f.fsf_-_@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s?= =?utf-8?Q?=22's?= message of "Tue, 31 Mar 2009 18:10:36 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) X-Pobox-Relay-ID: B7D51164-1E27-11DE-9D37-32B0EBB1AA3C-02397024!a-sasl-fastnet.pobox.com X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) 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:8364 Archived-At: Hi, On Tue 31 Mar 2009 09:10, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Greg Troxel writes: > >> So, building guile probably needs either to build guile as a host tool >> >> if host !=3D target, preferably in an objdir, and then that can be use= d. >> >> take a --with-guile that points to a working host guile, and people >> doing cross builds will have to build guile first. > > Right, we could use an already installed Guile 1.8/1.9 when > cross-compiling. That means we have to make sure the compiler can run > on top of 1.8. I think this is currently the case. Andy? The compiler won't work on 1.8, I don't think. But you could install a 1.9 on the host, and that would work -- modulo some endianness issues that would need to be sorted out for a host guilec to be able to cross-compile to the target. Andy --=20 http://wingolog.org/