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: Mathieu Othacehe
Subject: Re: i686-linux GCC package on x86_64
Date: Fri, 11 Oct 2019 10:12:38 +0200
User-agent: mu4e 1.2.0; emacs 26.3

> This works but cross-gcc only delivers GCC and the libc.
> The "lib" output of the regular GCC is missing.
>
> In particular, I'd need libstdc++.so.

Then, that should be fine:

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

Mathieu



reply via email to

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