mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: bootstrap: Add support for x86_64-gnu, aka the 64bit Hurd.
On commit:
ec8a5ec15f
gnu: make-bootstrap: Update gcc-static to gcc-14, for the 64bit Hurd.
Run:
./pre-inst-env guix build --target=x86_64-gnu bootstrap-tarballs
Producing:
/gnu/store/w1n7bdpn88plcc49h7n0jriaj41sgwx8-bootstrap-tarballs-0/
With guix hash -r:
15cb1xh7s2hhp8s0d81bjnw1759w9sh7ckc9n5jq2f3rqw6z76by
* gnu/packages/bootstrap.scm (%bootstrap-executables): Add entries for
x86_64-gnu.
(%bootstrap-guile-hash, %bootstrap-coreutils&co, %bootstrap-binutils,
%bootstrap-glibc, %bootstrap-gcc): Add entry for x86_64-gnu.
* guix/packages.scm (%supported-systems, %hurd-systems): Add x86_64-gnu.
(%cuirass-supported-systems): Remove x86_64-gnu.
* guix/utils.scm (target-64bit?): Add x86_64-gnu.
* m4/guix.m4: Add x86_64-gnu as a supported system.
* doc/guix.texi (GNU Distribution): Add x86_64-gnu.
Change-Id: I828159aedb3f66caba98e935083cc3682429f219
This commit is contained in:
parent
ec8a5ec15f
commit
4d9c5984fe
4 changed files with 57 additions and 8 deletions
12
m4/guix.m4
12
m4/guix.m4
|
@ -3,6 +3,7 @@ dnl Copyright © 2012, 2013, 2014, 2015, 2016, 2018, 2019, 2020, 2021 Ludovic Co
|
|||
dnl Copyright © 2014 Mark H Weaver <mhw@netris.org>
|
||||
dnl Copyright © 2017, 2020, 2021, 2023 Efraim Flashner <efraim@flashner.co.il>
|
||||
dnl Copyright © 2021 Chris Marusich <cmmarusich@gmail.com>
|
||||
dnl Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
|
||||
dnl
|
||||
dnl This file is part of GNU Guix.
|
||||
dnl
|
||||
|
@ -61,8 +62,13 @@ AC_DEFUN([GUIX_SYSTEM_TYPE], [
|
|||
linux-musl*)
|
||||
guix_system="$machine_name-linux";;
|
||||
gnu*)
|
||||
# Always use i586 for GNU/Hurd.
|
||||
guix_system="i586-gnu";;
|
||||
case "$machine_name" in
|
||||
i386|i486|i586|i686)
|
||||
# Always use i586 for 32bit GNU/Hurd.
|
||||
guix_system="i586-gnu";;
|
||||
*)
|
||||
guix_system="$machine_name-gnu";;
|
||||
esac;;
|
||||
*)
|
||||
# Strip the version number from names such as `gnu0.3',
|
||||
# `darwin10.2.0', etc.
|
||||
|
@ -91,7 +97,7 @@ courageous and port the GNU System distribution to it (see
|
|||
# Currently only Linux-based systems are supported, and only on some
|
||||
# platforms.
|
||||
case "$guix_system" in
|
||||
x86_64-linux|i686-linux|armhf-linux|aarch64-linux|powerpc64le-linux|riscv64-linux|i586-gnu)
|
||||
x86_64-linux|i686-linux|armhf-linux|aarch64-linux|powerpc64le-linux|riscv64-linux|i586-gnu|x86_64-gnu)
|
||||
;;
|
||||
mips64el-linux|powerpc-linux)
|
||||
AC_MSG_WARN([building Guix on `$guix_system', which is not supported])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue