[gentoo-user] Re: Multilib help

2018-07-04 Thread Ian Zimmerman
On 2018-07-04 02:06, Andrew Udvare wrote:

> https://wiki.gentoo.org/wiki/Project:AMD64/32-bit_Chroot_Guide
> 
> If most of your apps are 32-bit then you are almost better off running
> a native 32-bit system, especially for games.
> 
> You can also use the chroot for building, but then copy the libraries
> you need (and only the ones you need) to a path outside of the
> chroot. Then you can set LD_LIBRARY_PATH to that path and run the
> binary. This will work for most apps including games. I prefer this
> way because then I don't have to remember to set up the chroot, nor do
> I have to do anything as root once this is set up. This is how I ran
> PCSX2 prior to it running natively on x86-64.
> 
> Otherwise, if graphics performance is not an issue, use a 32-bit Linux
> within a VM.

But if this is so, what is the purpose of multilib, anyway?  Besides
making portage more complex and thus cooler :-P

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: Multilib help

2018-07-04 Thread Nikos Chantziaras

On 04/07/18 08:51, Zoltán Kócsi wrote:

So if a good soul came down to the level of the unfranked and told me
what to do, I'd be most obliged. In addition, if there's some decent
documentation on the package management system (apart from the Wiki),
preferably in a format that can be printed for night-time reading, I'd
be glad to receive some pointers.


In your package.use file, at the very top, add this line:

  */* abi_x86_32

Then run:

  emerge -auDN --with-bdeps=y @world

Every installed library that supports building in 32-bit mode will now 
be rebuilt.