[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: i686-linux GCC package on x86_64
From: |
Jelle Licht |
Subject: |
Re: i686-linux GCC package on x86_64 |
Date: |
Mon, 14 Oct 2019 16:21:03 +0200 |
Pierre Neidhardt <address@hidden> writes:
>[snip]
> --8<---------------cut here---------------start------------->8---
> (define-public cross-gcc
> (package
> (inherit ((@@ (gnu packages cross-base) cross-gcc)
> "i686-unknown-linux-gnu"
> #:libc (cross-libc "i686-unknown-linux-gnu")))
> (name "cross-gcc")))
> --8<---------------cut here---------------end--------------->8---
>
> Then
>
> --8<---------------cut here---------------start------------->8---
> $ guix build cross-gcc
> ...
> guix build: error: cross-gcc: unknown package
> --8<---------------cut here---------------end--------------->8---
>
> Is this expected?
Would `guix build cross-gcc-i686-unknown-linux-gnu' work?
I *think* the guix command line interface uses the package's name field
to resolve the right package objects, not the guile variable name.
In `(gnu packages cross-base)' -> `cross-gcc':
--8<---------------cut here---------------start------------->8---
(name (string-append "gcc-cross-"
(if libc "" "sans-libc-")
target))
--8<---------------cut here---------------end--------------->8---
- Re: i686-linux GCC package on x86_64, (continued)
- Re: i686-linux GCC package on x86_64, Jelle Licht, 2019/10/04
- Re: i686-linux GCC package on x86_64, Danny Milosavljevic, 2019/10/04
- Re: i686-linux GCC package on x86_64, Chris Marusich, 2019/10/05
- Re: i686-linux GCC package on x86_64, Ricardo Wurmus, 2019/10/07
- Re: i686-linux GCC package on x86_64, Chris Marusich, 2019/10/07
- Re: i686-linux GCC package on x86_64, Pierre Neidhardt, 2019/10/10
- Re: i686-linux GCC package on x86_64, Mathieu Othacehe, 2019/10/11
- Re: i686-linux GCC package on x86_64, Pierre Neidhardt, 2019/10/11
- Re: i686-linux GCC package on x86_64, Mathieu Othacehe, 2019/10/11
- Re: i686-linux GCC package on x86_64, Pierre Neidhardt, 2019/10/14
- Re: i686-linux GCC package on x86_64,
Jelle Licht <=
- Re: i686-linux GCC package on x86_64, Jelle Licht, 2019/10/14
- Re: i686-linux GCC package on x86_64, Mathieu Othacehe, 2019/10/14
- Re: i686-linux GCC package on x86_64, Pierre Neidhardt, 2019/10/14
- Re: i686-linux GCC package on x86_64, Alex Kost, 2019/10/16
Re: i686-linux GCC package on x86_64, Ludovic Courtès, 2019/10/07