View previous topic :: View next topic |
Author |
Message |
Ast0r Guru
Joined: 11 Apr 2006 Posts: 404 Location: Dallas, Tx - USA
|
Posted: Fri Sep 15, 2006 6:39 am Post subject: Need help migrating i386 to i686 |
|
|
I've got a box that someone installed from a very old installation medium and when they did it they set the CHOST to i386. I would like to switch to i686 so that I can use NPTL (glibc-2.4 and gcc-4.1.1) and because it seems silly to have the machine running with a i386 CHOST when it's got a Pentium D processor.
Reinstalling from scratch is out of the question: this box is 250 miles away.
I've already switched to the latest server profile (/usr/portage/profiles/default-linux/x86/2006.1/server) and I just need to know what to do next to get the system switched to i686.
Here is my make.conf Code: |
CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j4"
FEATURES="ccache"
PORTAGE_NICENESS="15"
USE="-alsa -apache2 -arts -esd -mesa -motif -mp3 nptl nptlonly -opengl -oss postgres -vorbis -X -xv"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" |
Also, here is the output of gcc-config --list-profiles Code: | [1] i386-pc-linux-gnu-3.4.6 *
[2] i386-pc-linux-gnu-3.4.6-hardened
[3] i386-pc-linux-gnu-3.4.6-hardenednopie
[4] i386-pc-linux-gnu-3.4.6-hardenednopiessp
[5] i386-pc-linux-gnu-3.4.6-hardenednossp
[6] i386-pc-linux-gnu-4.1.1 |
I imagine that the first step is to install the correct compiler profiles, then switch to it using gcc-config, then update make.conf, but I'm slightly confused about how to take the first step. Thanks in advance. |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
|
Back to top |
|
|
mark_alec Bodhisattva
Joined: 11 Sep 2004 Posts: 6066 Location: Melbourne, Australia
|
Posted: Fri Sep 15, 2006 6:59 am Post subject: |
|
|
Moved from Portage & Programming to Duplicate Threads.
See thread desultory posted. _________________ www.gentoo.org.au || #gentoo-au |
|
Back to top |
|
|
|