From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Cross-compilation, Guix "system", and GNU "triplet" Date: Tue, 28 Nov 2017 17:05:00 +0100 Message-ID: <87lgiqxuc3.fsf@gnu.org> References: <87shd4sduo.fsf@gmail.com> <871sknbxb4.fsf@gnu.org> <878teuvgpi.fsf@gmail.com> <87a7zaxqc1.fsf@gnu.org> <87374zuep7.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40980) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJiNf-0003jj-KI for guix-devel@gnu.org; Tue, 28 Nov 2017 11:05:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eJiNb-0006mj-Ln for guix-devel@gnu.org; Tue, 28 Nov 2017 11:05:07 -0500 Received: from [2a01:474::1] (port=40035 helo=hera.aquilenet.fr) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eJiNb-0006m9-DV for guix-devel@gnu.org; Tue, 28 Nov 2017 11:05:03 -0500 In-Reply-To: <87374zuep7.fsf@gmail.com> (Chris Marusich's message of "Mon, 27 Nov 2017 21:58:44 -0800") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Chris Marusich Cc: guix-devel@gnu.org Chris Marusich skribis: > ludo@gnu.org (Ludovic Court=C3=A8s) writes: > >> The ABI and file format are entirely (or almost entirely) the >> responsibility of user-land software (how you configure the toolchain >> determines what ABI you use, for instance.) Thus they=E2=80=99re necess= arily >> captured by the dependency graph; no need to store that information >> elsewhere. >> >> ... >>=20 >> It=E2=80=99s the toolchain that shows up in the graph that determines wh= at ABI >> is targeted. > > The Guix manual makes it sound like the Guix system string can identify > more than just the CPU architecture and kernel. Specifically, in the > section titled "GNU Distribution", it says the following: > > =E2=80=98armhf-linux=E2=80=99 > ARMv7-A architecture with hard float, Thumb-2 and NEON, using the > EABI hard-float application binary interface (ABI), and Linux-Libre > kernel. > > =E2=80=98aarch64-linux=E2=80=99 > little-endian 64-bit ARMv8-A processors, Linux-Libre kernel. This > is currently in an experimental stage, with limited support. *Note > Contributing::, for how to help! > > =E2=80=98mips64el-linux=E2=80=99 > little-endian 64-bit MIPS processors, specifically the Loongson > series, n32 ABI, and Linux-Libre kernel. > > > Is this langugae too specific? I think so, yes. Then again we could use different system strings to different ABIs, but we don=E2=80=99t have to. Ludo=E2=80=99.