diff options
| author | Janneke Nieuwenhuizen <janneke@gnu.org> | 2024-11-02 18:27:51 +0100 |
|---|---|---|
| committer | Janneke Nieuwenhuizen <janneke@gnu.org> | 2024-12-03 08:33:12 +0100 |
| commit | 94dfb68d4378377dfe49d6653e4ed668cecd2783 (patch) | |
| tree | c2fe829d6cec5d4192d52e780a0dd563bb9ac896 /gnu/packages/cross-base.scm | |
| parent | ae2213ed989051a680cf76582b758fd748838688 (diff) | |
gnu: Add basic support for x86_64-pc-gnu target, aka 64bit Hurd.
* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Update comment on where
to find shared linker name.
(make-raw-bag): Also use raw-build-guile3 when building for the 64bit Hurd.
* gnu/packages/cross-base.scm (cross-kernel-headers*): Use target-hurd?
instead of custom "i586..." matching to also use xhurd-core-headers for
target-hurd64.
* gnu/packages/make-bootstrap.scm (package-with-relocatable-glibc)
[native-inputs]: Move final-inputs before cross-packages.
(%binutils-static)[arguments]: When building for the 64bit Hurd, add
"lt_cv_prog_compiler_static_works=yes", "lt_cv_prog_compiler_static_works_CXX=yes"
to #:make-flags to convince to actually link the binaries statically.
(make-guile-static)[arguments]: When building for the 64bit Hurd, add
"lt_cv_prog_compiler_static_works=yes" to #:configure-flags to convince
libtool to actually link guile statically.
* guix/platforms/x86.scm (x86_64-gnu): New exported variable.
* guix/utils.scm (target-hurd64? system-hurd64?): New procedures.
Diffstat (limited to 'gnu/packages/cross-base.scm')
| -rw-r--r-- | gnu/packages/cross-base.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm index 5781341a878..83672ab383e 100644 --- a/gnu/packages/cross-base.scm +++ b/gnu/packages/cross-base.scm | |||
| @@ -641,9 +641,9 @@ the base compiler. Use XBINUTILS as the associated cross-Binutils." | |||
| 641 | ("hurd-headers" ,xhurd-headers) | 641 | ("hurd-headers" ,xhurd-headers) |
| 642 | ("hurd-minimal" ,xhurd-minimal))))) | 642 | ("hurd-minimal" ,xhurd-minimal))))) |
| 643 | 643 | ||
| 644 | (match target | 644 | (if (target-hurd? target) |
| 645 | ((or "i586-pc-gnu" "i586-gnu") xhurd-core-headers) | 645 | xhurd-core-headers |
| 646 | (_ xlinux-headers))) | 646 | xlinux-headers)) |
| 647 | 647 | ||
| 648 | (define* (cross-libc . args) | 648 | (define* (cross-libc . args) |
| 649 | (if (or (= (length args) 1) (contains-keyword? args)) | 649 | (if (or (= (length args) 1) (contains-keyword? args)) |
