diff options
| author | Janneke Nieuwenhuizen <janneke@gnu.org> | 2024-11-06 13:37:10 +0100 |
|---|---|---|
| committer | Janneke Nieuwenhuizen <janneke@gnu.org> | 2024-12-03 08:38:00 +0100 |
| commit | 4d9c5984fee481d74c2f504094b4797bbb4104d4 (patch) | |
| tree | a5011e48f764fbe3fd3c041964b410cb6a5fbe9d /m4 | |
| parent | ec8a5ec15f898e864705e5a5c834532e3fa8d0a4 (diff) | |
gnu: bootstrap: Add support for x86_64-gnu, aka the 64bit Hurd.
On commit:
ec8a5ec15f898e864705e5a5c834532e3fa8d0a4
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
Diffstat (limited to 'm4')
| -rw-r--r-- | m4/guix.m4 | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/m4/guix.m4 b/m4/guix.m4 index b93daba5c3a..8c2757a8b74 100644 --- a/m4/guix.m4 +++ b/m4/guix.m4 | |||
| @@ -3,6 +3,7 @@ dnl Copyright © 2012, 2013, 2014, 2015, 2016, 2018, 2019, 2020, 2021 Ludovic Co | |||
| 3 | dnl Copyright © 2014 Mark H Weaver <mhw@netris.org> | 3 | dnl Copyright © 2014 Mark H Weaver <mhw@netris.org> |
| 4 | dnl Copyright © 2017, 2020, 2021, 2023 Efraim Flashner <efraim@flashner.co.il> | 4 | dnl Copyright © 2017, 2020, 2021, 2023 Efraim Flashner <efraim@flashner.co.il> |
| 5 | dnl Copyright © 2021 Chris Marusich <cmmarusich@gmail.com> | 5 | dnl Copyright © 2021 Chris Marusich <cmmarusich@gmail.com> |
| 6 | dnl Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org> | ||
| 6 | dnl | 7 | dnl |
| 7 | dnl This file is part of GNU Guix. | 8 | dnl This file is part of GNU Guix. |
| 8 | dnl | 9 | dnl |
| @@ -61,8 +62,13 @@ AC_DEFUN([GUIX_SYSTEM_TYPE], [ | |||
| 61 | linux-musl*) | 62 | linux-musl*) |
| 62 | guix_system="$machine_name-linux";; | 63 | guix_system="$machine_name-linux";; |
| 63 | gnu*) | 64 | gnu*) |
| 64 | # Always use i586 for GNU/Hurd. | 65 | case "$machine_name" in |
| 65 | guix_system="i586-gnu";; | 66 | i386|i486|i586|i686) |
| 67 | # Always use i586 for 32bit GNU/Hurd. | ||
| 68 | guix_system="i586-gnu";; | ||
| 69 | *) | ||
| 70 | guix_system="$machine_name-gnu";; | ||
| 71 | esac;; | ||
| 66 | *) | 72 | *) |
| 67 | # Strip the version number from names such as `gnu0.3', | 73 | # Strip the version number from names such as `gnu0.3', |
| 68 | # `darwin10.2.0', etc. | 74 | # `darwin10.2.0', etc. |
| @@ -91,7 +97,7 @@ courageous and port the GNU System distribution to it (see | |||
| 91 | # Currently only Linux-based systems are supported, and only on some | 97 | # Currently only Linux-based systems are supported, and only on some |
| 92 | # platforms. | 98 | # platforms. |
| 93 | case "$guix_system" in | 99 | case "$guix_system" in |
| 94 | x86_64-linux|i686-linux|armhf-linux|aarch64-linux|powerpc64le-linux|riscv64-linux|i586-gnu) | 100 | x86_64-linux|i686-linux|armhf-linux|aarch64-linux|powerpc64le-linux|riscv64-linux|i586-gnu|x86_64-gnu) |
| 95 | ;; | 101 | ;; |
| 96 | mips64el-linux|powerpc-linux) | 102 | mips64el-linux|powerpc-linux) |
| 97 | AC_MSG_WARN([building Guix on `$guix_system', which is not supported]) | 103 | AC_MSG_WARN([building Guix on `$guix_system', which is not supported]) |
