From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: Cross-compiling Guile 2.0 Date: Tue, 31 May 2011 17:24:05 +0200 Message-ID: <87lixmdhbe.fsf@gnu.org> 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 1306855465 5251 80.91.229.12 (31 May 2011 15:24:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 31 May 2011 15:24:25 +0000 (UTC) Cc: guile-devel@gnu.org To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue May 31 17:24:20 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 1QRQnr-00078T-2e for guile-devel@m.gmane.org; Tue, 31 May 2011 17:24:19 +0200 Original-Received: from localhost ([::1]:36728 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRQnq-0001k7-DL for guile-devel@m.gmane.org; Tue, 31 May 2011 11:24:18 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:50240) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRQnj-0001jR-PA for guile-devel@gnu.org; Tue, 31 May 2011 11:24:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QRQnf-00067L-HQ for guile-devel@gnu.org; Tue, 31 May 2011 11:24:11 -0400 Original-Received: from solo.fdn.fr ([80.67.169.19]:56573) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRQnf-000673-Cp for guile-devel@gnu.org; Tue, 31 May 2011 11:24:07 -0400 Original-Received: from nixey (unknown [193.50.110.208]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) (Authenticated sender: lcourtes) by smtp.fdn.fr (Postfix) with ESMTPSA id 1328044114; Tue, 31 May 2011 17:24:06 +0200 (CEST) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 12 Prairial an 219 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: (Andy Wingo's message of "Mon, 30 May 2011 22:22:38 +0200") User-Agent: Gnus/5.110017 (No Gnus v0.17) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 80.67.169.19 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:12548 Archived-At: Hi! Andy Wingo skribas: > On Sun 29 May 2011 20:10, Andy Wingo writes: > >> On Fri 27 May 2011 16:51, ludo@gnu.org (Ludovic Court=C3=A8s) writes: >> >>> Sounds good, but you=E2=80=99d need additional data that maps triplets = (well, >>> $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! > > In the end I decided to punt. I added a stub (system base target) > module and wired it up to the compiler, but didn't implement the > endianness / word-size database. It might be possible to extract it semi-automatically from gcc/config/*/*.h... Thanks, Ludo'.