Multilib: Difference between revisions

From Q
Jump to navigation Jump to search
Tgurr (talk | contribs)
No edit summary
Tgurr (talk | contribs)
Replaced content with "TO DELETE, Multilib has been superseeded by Multiarch: http://exherbo.org/docs/multiarch.html"
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
Exherbo supports multilib natively, but it's not enabled by default yet.
TO DELETE, Multilib has been superseeded by Multiarch: http://exherbo.org/docs/multiarch.html
 
First we enable the multilib profile by changing the profiles variable in arbor.conf.
{{File|/etc/paludis/repositories/arbor.conf|
<pre>
...
profiles = ${location}/profiles/amd64/multilib
...
</pre>
}}
 
Remove the CHOST entry from bashrc and either set C{,XX}FLAGS which apply to all C targets, or define individual ones.
{{File|/etc/paludis/bashrc|
<pre>
CFLAGS="-march=native -pipe -O2"
CXXFLAGS="${CFLAGS}"
 
#MULTIBUILD_C_32_USER_CFLAGS="-march=native -pipe -O2"
#MULTIBUILD_C_32_USER_CXXFLAGS="${MULTIBUILD_C_32_USER_CFLAGS}"
#MULTIBUILD_C_64_USER_CFLAGS="-march=native -pipe -O2"
#MULTIBUILD_C_64_USER_CXXFLAGS="${MULTIBUILD_C_64_USER_CFLAGS}"
</pre>
}}
 
{{Root|cave resolve skeleton-filesystem-layout -x1}}
 
Temporarily enable bootstrap and reinstall glibc, it will also pull in bootstrap-gcc.
 
{{File|/etc/paludis/bashrc|
<pre>
sys-libs/glibc bootstrap
</pre>
}}

Latest revision as of 22:35, 19 May 2015

TO DELETE, Multilib has been superseeded by Multiarch: http://exherbo.org/docs/multiarch.html