newsGNU Guix - News: Guix gets cross-compilation support

 
 
Latest News
News feed has moved! posted by civodul, Sat 12 Nov 2016 02:18:20 PM UTC
GNU Guix and GuixSD 0.11.0 released posted by civodul, Wed 03 Aug 2016 02:23:00 PM UTC
GuixSD system tests posted by civodul, Tue 28 Jun 2016 11:44:39 AM UTC
GNU Guix welcomes four students for GSoC posted by civodul, Sun 24 Apr 2016 07:45:58 PM UTC
GNU Guix & GuixSD 0.10.0 released posted by civodul, Tue 29 Mar 2016 12:52:38 PM UTC

Guix gets cross-compilation support

Item posted by Ludovic Courtès <civodul> on Wed 26 Jun 2013 09:44:11 PM UTC.

Recently, Guix gained cross-compilation support.  What this means is that existing package definitions can be reused to cross compile packages.  So for instance one can cross-compile Guile and its dependencies for MIPS with:


guix build --target=mips64el-linux-gnu guile


This may sound like an unexpected feature for a "package manager".  In fact, it is particularly useful when porting the GNU system distribution to new platforms.  The distribution being self-contained, it is bootstrapped from a small set of pre-built binaries.  With cross-compilation support, porting to a new platform boils down to cross-compiling the bootstrap binaries for that platform.

 

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code