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: Cross-compiling Guile 2.0 Date: Fri, 18 Mar 2011 01:04:46 +0100 Message-ID: References: <87hbbhbb99.fsf@ossau.uklinux.net> <87k4gb99uv.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: dough.gmane.org 1300406702 7207 80.91.229.12 (18 Mar 2011 00:05:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 18 Mar 2011 00:05:02 +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 Fri Mar 18 01:04:57 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 1Q0NBY-00032f-RJ for guile-devel@m.gmane.org; Fri, 18 Mar 2011 01:04:57 +0100 Original-Received: from localhost ([127.0.0.1]:55894 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q0NBX-0003z5-Ua for guile-devel@m.gmane.org; Thu, 17 Mar 2011 20:04:56 -0400 Original-Received: from [140.186.70.92] (port=42965 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q0NBI-0003w1-RF for guile-devel@gnu.org; Thu, 17 Mar 2011 20:04:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q0NBG-00076x-UC for guile-devel@gnu.org; Thu, 17 Mar 2011 20:04:40 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:61842 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q0NBG-00076t-PL; Thu, 17 Mar 2011 20:04:38 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id E63614D5B; Thu, 17 Mar 2011 20:06:12 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=sUgwtCsNv2Q0 LNWb91Jt0W6Xihc=; b=xmbNLhECAygTT04Vc2f6hxdRgP6GRLDaSoSRlvcLauaf YRYQ4JiJwNPY02VszscLNZKEZIxysd+OlK276jsemSL2xLOnDAGy+oulLidMPiG1 SY9F/gxUgLpY2ZA6FG6I8Tif+eFcAk4jcG32ht50kTJHJZdrDXQEvECFaVYo+ow= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=sasl; b=BcBs1e nXpext54l3FLeCr5MflWN/GWhAU0EfEDhqXfpX2XqZdiUReXz5I4GAsKGabBqoXo G3TMGVWjQ/5XvJ0uylNF6ayApIvWRinITU/CHknac1XolJd0pBt95axOSJR3Kgqv s10T2vHMAVz6jNLZ7lIMm4eyENAEU7R3omQi8= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id D45974D58; Thu, 17 Mar 2011 20:06:10 -0400 (EDT) Original-Received: from unquote.localdomain (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 419F54D56; Thu, 17 Mar 2011 20:06:08 -0400 (EDT) In-Reply-To: <87k4gb99uv.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Sun, 06 Mar 2011 23:12:40 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: 87DD9962-50F3-11E0-B2EE-E8AB60295C12-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 64.74.157.62 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:11898 Archived-At: On Sun 06 Mar 2011 23:12, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Neil Jerram writes: > >> 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. > > Guile 2.0 can only be cross-compiled when the endianness and word size > of the host and target match (because the bytecode generation cannot be > parameterized by these.) You know, I think it's actually just endianness right now; I don't see where word size comes into it, except for the cookie. Anyway, in the future when we do AOT compilation, this question will be more serious. (I would like to do AOT stuff this year.) So, following the autoconf manual ("Specifying Target Triplets"), we would have build =3D=3D host, but target =3D=3D the arm triple; so we would need `target-endianness' (and possibly `target-word-size') in the compiler. Where do you think we should put these, given that you don't want them in (rnrs bytevectors)? :-) Andy --=20 http://wingolog.org/