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: Pierre Neidhardt
Subject: Re: i686-linux GCC package on x86_64
Date: Fri, 11 Oct 2019 11:30:10 +0200

Mathieu Othacehe <address@hidden> writes:

> --8<---------------cut here---------------start------------->8---
>     (native-inputs
>      `(,@(if (not (string-prefix? "i686" (%current-system)))
>            `(("cross-gcc" ,(cross-gcc "i686-unknown-linux-gnu"
>                                       #:libc (cross-libc 
> "i686-unknown-linux-gnu")))
>              ("cross-binutils" ,(cross-binutils "i686-unknown-linux-gnu")))
>            '())))
> --8<---------------cut here---------------end--------------->8---
>
> By default the #:libc field of cross-gcc is #f which seems to be the
> issue for you.

This worked, fantastic!

Now the only issue is that the libc is placed in a
"/gnu/store/...-gcc-cross-i686-unknown-linux-gnu-5.5.0/i686-unknown-linux-gnu"
subfolder.
I wonder why.  How are dependencies supposed to find the libs in there?

Is it possible to move the libs to the usual "lib" folder at the root?

Cheers!

-- 
Pierre Neidhardt
https://ambrevar.xyz/

Attachment: signature.asc
Description: PGP signature


reply via email to

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