help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multilib support: running 32-bit binaries on 64-bit systems


From: 宋文武
Subject: Re: Multilib support: running 32-bit binaries on 64-bit systems
Date: Thu, 19 Apr 2018 15:36:42 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Pierre Neidhardt <address@hidden> writes:

> Guix already supports cross-compilation out of the box of 32-bit
> packages on any architecture:
>
>       guix build --system=i686-linux PACKAGES...
>
> Now the question is: is it possible to run the produced binaries
> directly (no VM)?

Yes, you can run i686 binaries directly on a x86_64 system with the default 
libre
linux kernel (which have i686 support enabled), one example is the
‘wine’ package.

>
> Many other distributions have support for the so-called "multilibs",
> that is, a separate 32-bit library tree with the 32-bit linker
> configured to load those instead of their 64-bit counterparts.
>
> Does Guix have any provision for multilibs?

Guix install every package into its own directory which already cover
the multilibs cases.



reply via email to

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