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: Sun, 29 May 2011 20:10:18 +0200 Message-ID: References: <87hbbhbb99.fsf@ossau.uklinux.net> <87k4gb99uv.fsf@gnu.org> <87bp18pwbi.fsf@gnu.org> <87mxkp2958.fsf@gnu.org> <87ipvdzdg7.fsf@gnu.org> <87ipvcmeim.fsf@gnu.org> <87pqn4kxhr.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 1306692641 20017 80.91.229.12 (29 May 2011 18:10:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 29 May 2011 18:10:41 +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 Sun May 29 20:10:36 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QQkRe-0001AQ-Gv for guile-devel@m.gmane.org; Sun, 29 May 2011 20:10:34 +0200 Original-Received: from localhost ([::1]:45479 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QQkRe-0000sJ-0i for guile-devel@m.gmane.org; Sun, 29 May 2011 14:10:34 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:59777) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QQkRb-0000rh-W8 for guile-devel@gnu.org; Sun, 29 May 2011 14:10:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QQkRa-0003Ax-Ot for guile-devel@gnu.org; Sun, 29 May 2011 14:10:31 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:41560 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QQkRa-0003At-MQ; Sun, 29 May 2011 14:10:30 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 927384EC3; Sun, 29 May 2011 14:12:37 -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=FJgrEHQV98er UCLaGboyJpc2eBk=; b=o6HtAKuDEJkLl221VXfCHH4f0k5svBCl0D37R0nuKWQE 5vutzDNVQZkYyFgBpiuv1YBHVZ39+53Rxr6r7TxgaVhlrxPYODjFTbBqrw5WZF3L hOqRwVlpHl2gR4by2erxSyOhZntDTcNNm2769kM0k9hyJnN19fIUE/byRR8JaWQ= 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=GcgQIn LR1OXi8TaZXoXPEmjVIWJTwQYqA4EA/xc5DrAZQF75D7vGLfKptDz3kT0tikTc0l Ubv7xJID6oGh6Zj5oEkTTLij8xS05WjDWaQB/a1dWBDYdco8At227AFlNKa6yo4I fceLUz7UvFBUhYpOEnzH6YLMQGsuCMxD8gXnQ= 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 7F96B4EC2; Sun, 29 May 2011 14:12:36 -0400 (EDT) Original-Received: from unquote.localdomain (unknown [79.158.172.185]) (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 787FC4EC1; Sun, 29 May 2011 14:12:34 -0400 (EDT) In-Reply-To: <87pqn4kxhr.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Fri, 27 May 2011 16:51:28 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: 3B482AB2-8A1F-11E0-AE32-D6B6226F3D4C-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.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:12546 Archived-At: Hi :) On Fri 27 May 2011 16:51, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Andy Wingo skribas: > >> After having read "Using System Type" again in the autoconf manual, I am >> convinced again that the right thing to do is to add a %target-type >> fluid or mutable parameter, defaulting to the %host-type. We select how >> to compile for the target by making decisions based on %target-type. >> Since in Guile those decisions don't currently need to be made anywhere >> except in compile-bytecode.scm and in bytecode->objcode in objcodes.c, >> this is easy. In the future when the %target-type could select an >> entirely different assembler et al, the "where" of the decisions could >> be moved somewhat; but I think that the mechanism sounds right to me. > > Sounds good, but you=E2=80=99d need additional data that maps triplets (w= ell, > $host_cpu) to low-level info such as endianness and word size, right? Yes, which caused me a bit of agony on Friday after writing that mail. Not resolved yet. Durnit! Andy --=20 http://wingolog.org/