guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MIPS64/N64 support


From: Ludovic Courtès
Subject: Re: MIPS64/N64 support
Date: Sun, 08 Sep 2013 21:54:43 +0200
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Nikita Karetnikov <address@hidden> skribis:

>>> 3. Created ‘mips64el-linux-gnuabi64’ in ‘gnu/packages/bootstrap/’.
>
>> Hmm, I think we should just call it ‘mips64el-linux’ since the ABI is
>> really something orthogonal.
>
> I’ve already tried that:
>
> $ ./pre-inst-env guix build -K -s mips64el-linux-gnuabi64 hello
>
> […]
>
> ERROR: bootstrap binary not found "tar" "mips64el-linux-gnuabi64"
>
> How would you change ‘bootstrap.scm’ to handle this?

As I wrote, call it ‘mips64el-linux’, and put the binaries under the
directory of that name.

>>>    * It’s 2.0.9.  I decided not to touch ‘%bootstrap-guile’ for now to
>>>      avoid errors.
>
>> What do you mean?  ‘%bootstrap-guile’ needs to refer to that new
>> tarball, right?
>
> Yes, ‘%bootstrap-guile’ expects a binary called ‘guile-2.0.7.tar.xz’:
>
>   (guile (->store "guile-2.0.7.tar.xz"))

Aah, right.  Well, either call it this way, or do something like:

  (->store
    (if (string=? (%current-system) "mips64el-linux")
        "guile-2.0.9.tar.xz"
        "guile-2.0.7.tar.xz"))
      
HTH,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]