Guix gets cross-compilation support

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.

除非另有说明,否则本网站上的博客文章的版权归其各自作者所有,并根据以下条款发布 CC-BY-SA 4.0 许可证和 GNU 自由文档许可证(版本 1.3 或更高版本,没有不变部分,没有封面文字,无封底文字)。