From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 783 invoked by alias); 11 Jun 2014 12:24:59 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 758 invoked by uid 89); 11 Jun 2014 12:24:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=BAYES_00,SPF_HELO_PASS,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: hera.aquilenet.fr Received: from hera.aquilenet.fr (HELO hera.aquilenet.fr) (141.255.128.1) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 11 Jun 2014 12:24:57 +0000 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 204682C93; Wed, 11 Jun 2014 14:24:54 +0200 (CEST) Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a+zxna6p1QiF; Wed, 11 Jun 2014 14:24:54 +0200 (CEST) Received: from pluto (162-75.80-90.static-ip.oleane.fr [90.80.75.162]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 6FC482A3D; Wed, 11 Jun 2014 14:24:53 +0200 (CEST) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Doug Evans Cc: Eli Zaretskii , "gdb-patches\@sourceware.org" Subject: Re: Building the current snapshot on Windows with Guile References: <83y4x614y6.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 23 Prairial an 222 de la =?utf-8?Q?R=C3=A9volution?= 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 Date: Wed, 11 Jun 2014 12:24:00 -0000 In-Reply-To: (Doug Evans's message of "Tue, 10 Jun 2014 12:55:09 -0700") Message-ID: <87ha3rocq3.fsf@gnu.org> User-Agent: Gnus/5.130009 (Ma Gnus v0.9) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2014-06/txt/msg00443.txt.bz2 Doug Evans skribis: > (*1): As Ludo suggested, we could compile these files during a gdb > build, but that doesn't work in a cross-compilation scenario (without > requiring more complexity in the build, which would be nice to avoid). > Are these files guaranteed to be equivalent across configurations (I'm > guessing not), and if not does guile provide a cross-compiler for them > (I'm guessing not - could be wrong of course)? It does provide a cross-compiler (info "(guile) Compilation"): guix compile --target=3Dmips64el-linux-gnu foo.scm -o foo.go But note that the interpretation of triplets might defer from that of GDB. In particular, for platforms that support several ABIs with different word sizes, it recognizes some specific triplet extensions=E2=80=93e.g., =E2=80=9Cmips64el-linux-gnuabi64=E2=80=9D for the = N64 ABI on MIPS. See . Ludo=E2=80=99.