[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 31/31: DRAFT gnu: bootstrap: Add support for the Hurd.
From: |
Ludovic Courtès |
Subject: |
Re: 31/31: DRAFT gnu: bootstrap: Add support for the Hurd. |
Date: |
Thu, 12 Mar 2020 10:04:21 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Howdy!
address@hidden skribis:
> commit 26973d51c37e6921454a4500fb95bcda11ea4ec8
> Author: Efraim Flashner <address@hidden>
> AuthorDate: Fri Jan 31 16:28:23 2020 +0200
>
> DRAFT gnu: bootstrap: Add support for the Hurd.
[...]
> @@ -378,18 +394,40 @@ or false to signal an error."
> (rename-file guile guile-real)
> (call-with-output-file guile
> (lambda (p)
> - (format p "\
> + (format p ,(if (equal? (or (%current-target-system)
> + (%current-system))
> "i586-gnu") "\
> +#!~a
> +export GUILE_SYSTEM_PATH=~a/share/guile/2.2
> +export GUILE_SYSTEM_COMPILED_PATH=~a/lib/guile/2.2/ccache
> +exec -a \"~a0\" ~a \"~a@\"\n"
> + "\
> #!~a
> export GUILE_SYSTEM_PATH=~a/share/guile/2.0
> export GUILE_SYSTEM_COMPILED_PATH=~a/lib/guile/2.0/ccache
> exec -a \"~a0\" ~a \"~a@\"\n"
> +
> +)
> bash out out dollar guile-real dollar)))
> (chmod guile #o555)
> (chmod bin-dir #o555))))))
For the sake of reducing complexity and keeping supported systems as
close to one another as possible, would it be an option to keep using
2.0 for GNU/Hurd, like on the other systems?
That would entail changing make-bootstrap.scm to use 2.0 instead of 2.2
as a first step. And yeah, it’d also entail another full rebuild, which
I’m sorry for, but I think this kind of simplification pays off quickly.
WDYT?
(I vaguely remember discussing it before but I forgot the outcome of the
discussion. Apologies for that!)
Thanks,
Ludo’.
- Re: 31/31: DRAFT gnu: bootstrap: Add support for the Hurd.,
Ludovic Courtès <=