|
From: | Ludovic Courtès |
Subject: | [bug#55220] [PATCH 0/4] Add --list-systems and --list-targets options. |
Date: | Fri, 06 May 2022 16:39:58 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hi, Mathieu Othacehe <othacehe@gnu.org> skribis: > * gnu/platforms/intel.scm: New file. > * gnu/platforms/mips.scm: Ditto. > * gnu/platforms/powerpc.scm: Ditto. > * gnu/platforms/riscv.scm: Ditto. > * gnu/local.mk (GNU_SYSTEM_MODULES): Add them. > > Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Nice. > +(define intel32-linux > + (platform > + (target "i686-linux-gnu") > + (system "i686-linux") > + (linux-architecture "x86"))) How about having a ‘glibc-dynamic-linker’ field in <platform>? That would be a good way to determine whether a platform is a good candidate for ‘--target’. (Also, in hindsight, ‘triplet’ might be more accurate than ‘target’ for the first field. No big deal though.) Ludo’.
[Prev in Thread] | Current Thread | [Next in Thread] |