[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#74290] [PATCH 31/31] system: hurd: Use 64bit gnumach for the 64bit
From: |
Janneke Nieuwenhuizen |
Subject: |
[bug#74290] [PATCH 31/31] system: hurd: Use 64bit gnumach for the 64bit Hurd. |
Date: |
Sun, 10 Nov 2024 11:38:27 +0100 |
* gnu/system/hurd.scm (%hurd-default-operating-system-kernel): Use
actual (%current-target-system) to specify (%current-system) instead of using
hardcoded "i686-linux".
Change-Id: Ifc179bce221b1a54461860c24ba400cf6932ec86
---
gnu/system/hurd.scm | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/gnu/system/hurd.scm b/gnu/system/hurd.scm
index 9a351529e8..58e41959f4 100644
--- a/gnu/system/hurd.scm
+++ b/gnu/system/hurd.scm
@@ -18,6 +18,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu system hurd)
+ #:use-module (ice-9 match)
#:use-module (guix gexp)
#:use-module (guix profiles)
#:use-module (guix utils)
@@ -64,9 +65,13 @@ (define %hurd-default-operating-system-kernel
(if (system-hurd?)
gnumach
;; A cross-built GNUmach does not work
- (with-parameters ((%current-system "i686-linux")
- (%current-target-system #f))
- gnumach)))
+ (let ((system (match (%current-system)
+ ((? target-x86-32?) "i686-linux")
+ ((? target-x86-64?) "x86_64-linux")
+ (_ "i686-linux"))))
+ (with-parameters ((%current-system system)
+ (%current-target-system #f))
+ gnumach))))
(define %base-packages/hurd
;; Note: the Shepherd comes before the Hurd, not just because its duty is to
--
Janneke Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | AvatarĀ® https://AvatarAcademy.com
- [bug#74290] [PATCH 18/31] gnu: perl: Support cross-building for the 64bit Hurd., (continued)
- [bug#74290] [PATCH 18/31] gnu: perl: Support cross-building for the 64bit Hurd., Janneke Nieuwenhuizen, 2024/11/10
- [bug#74290] [PATCH 14/31] DRAFT gnu: bootstrap: Add support for x86_64-gnu, aka the 64bit Hurd., Janneke Nieuwenhuizen, 2024/11/10
- [bug#74290] [PATCH 20/31] gnu: pciutils: Support the 64bit Hurd., Janneke Nieuwenhuizen, 2024/11/10
- [bug#74290] [PATCH 19/31] gnu: openssl-3.0: Support the 64bit Hurd., Janneke Nieuwenhuizen, 2024/11/10
- [bug#74290] [PATCH 23/31] gnu: netdde: Support the 64bit Hurd., Janneke Nieuwenhuizen, 2024/11/10
- [bug#74290] [PATCH 27/31] gnu: git-minimal: Support the 64bit Hurd., Janneke Nieuwenhuizen, 2024/11/10
- [bug#74290] [PATCH 25/31] gnu: rumpkernel: Support the 64bit Hurd., Janneke Nieuwenhuizen, 2024/11/10
- [bug#74290] [PATCH 26/31] gnu: hurd: Build fixes for the 64bit Hurd., Janneke Nieuwenhuizen, 2024/11/10
- [bug#74290] [PATCH 24/31] gnu: rumpkernel: Update to f1ffd6405f225336e595a0f99f01095ed7438337., Janneke Nieuwenhuizen, 2024/11/10
- [bug#74290] [PATCH 31/31] system: hurd: Use 64bit gnumach for the 64bit Hurd.,
Janneke Nieuwenhuizen <=
- [bug#74290] [PATCH 16/31] gnu: Add libgpg-error-1.50., Janneke Nieuwenhuizen, 2024/11/10
- [bug#74290] [PATCH 21/31] gnu: libpciaccess: Support the 64bit Hurd., Janneke Nieuwenhuizen, 2024/11/10
- [bug#74290] [PATCH 30/31] gnu: guile-fibers: Fix build for the 64bit Hurd., Janneke Nieuwenhuizen, 2024/11/10
- [bug#74290] [PATCH 29/31] gnu: grub: Fix build for the 64bit Hurd., Janneke Nieuwenhuizen, 2024/11/10
- [bug#74290] [PATCH 22/31] gnu: netdde: Update to c0ef248dc7c5ccc1273e2a796f3ece30c5b645df., Janneke Nieuwenhuizen, 2024/11/10
- [bug#74290] [PATCH 28/31] gnu: inetutils: Fix build for the 64bit Hurd., Janneke Nieuwenhuizen, 2024/11/10
- [bug#74290] [PATCH 00/31] Add support for x86_64-gnu, aka the 64bit Hurd., janneke, 2024/11/10
- [bug#74290] [PATCH v2 00/40] Add support for x86_64-gnu, aka the 64bit Hurd., Janneke Nieuwenhuizen, 2024/11/12