[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cross-building GuixSD (and maybe using pre-built toolchains)
From: |
Efraim Flashner |
Subject: |
Re: Cross-building GuixSD (and maybe using pre-built toolchains) |
Date: |
Tue, 5 Jul 2016 11:10:42 +0300 |
User-agent: |
Mutt/1.6.1 (2016-04-27) |
On Sun, Jul 03, 2016 at 04:51:27PM +0200, Paul Boddie wrote:
> Hello,
>
...
>
> One thing that looks very promising is the ability to cross-bootstrap the
> system, and I did manage to get that started for a new architecture (mipsel)
> by performing some modifications suggested in the documentation [1], running
> guix-daemon with the --disable-chroot flag, and then running this:
>
> guix build --target=mipsel-linux-gnu bootstrap-tarballs
>
> However, not wanting to leave my computer switched on all night, I stopped
> the
> build after a while. I can understand the need to bootstrap things like
> toolchains, but given that I am running Debian which has cross-toolchains for
> mipsel, I wondered if I could short-circuit this process by employing pre-
> built toolchains. Would this be possible?
I built a set of bootstrap-tarballs on my very underpowered laptop
which took about 15 hours. The longest single package was gcc-4.9, which
took me about 5 hours. On a more powerful machine it should go much
faster.
> Finally, it seems to be the case that the workflow involves building a
> bootstrapped minimal system and then natively building packages. Or have I
> misunderstood the process? Is it possible to cross-build all of the packages
> in the distribution?
>
> I hope I haven't missed anything that tells me the answers to all of these
> questions.
>
> Thanks in advance for any answers you may have!
>
> Paul
>
> [1] https://www.gnu.org/software/guix/manual/html_node/Porting.html#Porting
>
--
Efraim Flashner <address@hidden> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
signature.asc
Description: PGP signature