Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Does gentoo have/plan to have multi-arch support?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Gooberpatrol66
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jul 2014
Posts: 143

PostPosted: Tue May 15, 2018 6:15 am    Post subject: Does gentoo have/plan to have multi-arch support? Reply with quote

Debian has something called multiarch: https://wiki.debian.org/Multiarch
From my understanding, it allows you to boot a single install on multiple different architectures.
Does gentoo have / plan to have something like this?
Back to top
View user's profile Send private message
snkmoorthy
Guru
Guru


Joined: 19 Nov 2002
Posts: 376

PostPosted: Tue May 15, 2018 6:51 am    Post subject: Reply with quote

Gentoo Multilib
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30887
Location: here

PostPosted: Tue May 15, 2018 6:52 am    Post subject: Reply with quote

https://wiki.gentoo.org/wiki/Multilib
https://wiki.gentoo.org/wiki/Cross_build_environment

EDIT: when you install gentoo you can select a multilib profile
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Gooberpatrol66
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jul 2014
Posts: 143

PostPosted: Tue May 15, 2018 9:04 pm    Post subject: Reply with quote

snkmoorthy wrote:
Gentoo Multilib


Isn't that for x86/x64 only? I mean like being able to boot on both x86 and ARM.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Tue May 15, 2018 10:05 pm    Post subject: Reply with quote

Not even the Debian page you linked to suggests that, their use cases are multi-ABI arches or emulation/cross-compiling.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21595

PostPosted: Wed May 16, 2018 1:26 am    Post subject: Reply with quote

This is not traditional multilib. Multilib has lib32/lib64, where it is understood from the host CPU architecture whether lib64 means amd64, ppc64, aarch64, etc. The Debian page proposes that architecture-qualified directories be named for their target architecture, so that you can have amd64, ppc64, and aarch64 directories as peers, rather than lib64 as the native 64-bit (whichever one that happens to be) and the other two be buried off in paths designated for foreign architectures.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Wed May 16, 2018 2:03 pm    Post subject: Reply with quote

Oh... that probably wouldn't be impossible to do. It's a matter of tweaking ld.so.conf and $PATH to look in /usr/$ARCH/, which crossdev already populates...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum