Multilib: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 62: | Line 62: | ||
If you want to install for example Wine you may | If you want to install for example Wine you may have to temporarily disable some OPTIONS to manually resolve blockers. | ||
{{File|/etc/paludis/options.conf| | {{File|/etc/paludis/options.conf| | ||
Revision as of 23:37, 19 December 2012
Exherbo supports multilib natively, but it's not enabled by default yet.
First we enable the multilib profile by changing the profiles variable in arbor.conf.
...
profiles = ${location}/profiles/amd64/multilib
...
Remove the CHOST entry from bashrc and either set C{,XX}FLAGS which apply to all C targets, or define individual ones.
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}"
Temporarily enable bootstrap and reinstall glibc, it will also pull in bootstrap-gcc.
sys-libs/glibc bootstrap
Temporarily disable openmp and reinstall gcc. If you intent to rebuild gcc afterwards you can also temporarily disable java, fortran, etc. to speed things up.
sys-devel/gcc -fortran -java -openmp
Switch to the new gcc, if not already active.
Remove the bootstrap OPTION from glibc in /etc/paludis/options.conf and reinstall it, also purging the now uneeded bootstrap-gcc.
If you disabled some gcc options before in /etc/paludis/options.conf, you can now re-enable them and reinstall gcc.
If you want to install for example Wine you may have to temporarily disable some OPTIONS to manually resolve blockers.
sys-apps/util-linux -systemd -udev sys-apps/dbus -systemd
Be sure to re-enable and reinstall the affected packages afterwards.