[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: |
Fri, 04 Oct 2019 17:46:43 +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"))
> ("cross-binutils" ,(cross-binutils "i686-unknown-linux-gnu")))
> '())))
> --8<---------------cut here---------------end--------------->8---
>
> that uses the current gcc if you're already building on an i686 system,
> or define and use a cross-gcc targeting i686 systems otherwise.
This snippet might make a lot of sense to seasoned schemers/guixfolk,
with the multiple levels of (un)quoting and what not. It does not seem
like what somebody with little experience in either would think of by
themselves.
Would it make sense to have a section/stub in the cookbook about cross
compilation?
- Jelle
- Re: i686-linux GCC package on x86_64, Pierre Neidhardt, 2019/10/03
- Re: i686-linux GCC package on x86_64, Mathieu Othacehe, 2019/10/04
- Re: i686-linux GCC package on x86_64, Pierre Neidhardt, 2019/10/04
- Re: i686-linux GCC package on x86_64, Mathieu Othacehe, 2019/10/04
- Re: i686-linux GCC package on x86_64,
Jelle Licht <=
- 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, 2019/10/14