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, 20 Mar 2011 16:25:02 +0100 Message-ID: References: <87hbbhbb99.fsf@ossau.uklinux.net> <87k4gb99uv.fsf@gnu.org> <87bp18pwbi.fsf@gnu.org> <87mxkp2958.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 1300634718 5293 80.91.229.12 (20 Mar 2011 15:25:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 20 Mar 2011 15:25:18 +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 Mar 20 16:25:14 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 1Q1KVE-0001rP-4G for guile-devel@m.gmane.org; Sun, 20 Mar 2011 16:25:12 +0100 Original-Received: from localhost ([127.0.0.1]:44348 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q1KVD-0002aK-A1 for guile-devel@m.gmane.org; Sun, 20 Mar 2011 11:25:11 -0400 Original-Received: from [140.186.70.92] (port=42243 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q1KUx-0002YR-Uo for guile-devel@gnu.org; Sun, 20 Mar 2011 11:24:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q1KUw-0001F6-6e for guile-devel@gnu.org; Sun, 20 Mar 2011 11:24:55 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:56223 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q1KUw-0001EX-4F; Sun, 20 Mar 2011 11:24:54 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 72F923BD3; Sun, 20 Mar 2011 11:26:29 -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=8JboLUYTtHSD BfFUwcE0oyZhWRg=; b=Y4/X5xHWc6nxIXn9+D57H2lzXZxlXANeXvb470fDK6ip VcUqupGFiioCFS9+y1Tg2XPWbfczPoleMPrzx1EYJR8q/17FYYfWVFDQMsCm0gWO NDPzMH0IdehyxO0gtDYicwT6vxMImqYExLICX+30mtSVFUPXCxpsx55PAbUEO1g= 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=niOkws Mbdpq4OCteCWwsXABPWgkolPq7oT6s95OYpqo1U5bTPbmwbV+3Xk0AjU83ehVC1g cLnKbPRfjV85GSfYZdSstvlT4smnMHgaoQ1dsrbSEo/f9Ne5vD0fM2JAb6irwZ86 gFrYIBt4Z2jF9+MJZQkijyC3HsLZIySVZ1MAU= 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 5ECE33BD2; Sun, 20 Mar 2011 11:26:27 -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 BED593BCE; Sun, 20 Mar 2011 11:26:25 -0400 (EDT) In-Reply-To: <87mxkp2958.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Sun, 20 Mar 2011 14:50:43 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: 6C4E4BF0-5306-11E0-88D1-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:11928 Archived-At: Hi :) On Sun 20 Mar 2011 14:50, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > There=E2=80=99s already =E2=80=98%host-type=E2=80=99. Ah, cool. > However, I don=E2=80=99t think defining =E2=80=98%target-type=E2=80=99 wo= uld make sense > since: > > 1. Of the GNU triplet, only the $target_arch matters for bytecode; > > 2. You can really choose at run-time what target you want to build > for, by just setting the endianness fluid. Can I convince you otherwise? Right now it's endianness, but I would like to hack an ARM native compiler sometime soonish, and that's going to be easier as a cross-compiler; and at that point you do need the %target-type. I guess that's my point: right now it's endianness, in the future it will be more things, might as well go ahead and add %target-type now. > Now, if we want to produce something comparable to cross-GCC & > cross-Binutils[*], we could install, say, arm-linux-gnueabi-guile-tools Yes, that sounds good, though I would be happier if we did this simply with --program-prefix and --target. I really don't want to add an endianness kwarg to `compile', for example, though an endianness fluid in (language assembly) is OK for me. Cheers, Andy --=20 http://wingolog.org/