guix-devel
[Top][All Lists]
Advanced

[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---





reply via email to

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