Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Processor/Motherboard Switching
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
TheNewOsiris
Tux's lil' helper
Tux's lil' helper


Joined: 18 Dec 2006
Posts: 91

PostPosted: Sun Jun 03, 2007 11:30 pm    Post subject: Processor/Motherboard Switching Reply with quote

I have currently compiled my system for the (32 bit X86) Pentium 4 processor.
However I might get a new motherboard with a (64 bit AMD64) Athlon 3000 cpu.
Will there be a problem running the 32-bit applications compiled for the X86 architecture on a 64-bit AMD64 architecture.
If there are problems how can they be avoided/solved.
What the general procedure for executing these kids of CPU changes.

Thanks in advance.
Back to top
View user's profile Send private message
vaxbrat
Guru
Guru


Joined: 05 Oct 2005
Posts: 510
Location: DC Burbs

PostPosted: Mon Jun 04, 2007 2:25 am    Post subject: Should be upgradeable Reply with quote

While it would be best to start with a new stage on a fresh partition, your 64 bit hardware should be able to emulate 32 bit mode enought to get you bootstrapped. Before attempting, you should backup what you want to keep around in case you need to nuke everything (ie /home).

You might want to pull xdm, gdm or kdm (whatever you use) out of your startup to disable Xwindows until everything is up to speed.

Change your /etc/make.conf to reflect your new arch (CFLAGS, CHOST and USE flags)

Change your /etc/make.profile softlink to reflect your new arch.

Do an emerge -eN system
Do a second emerge -eN system to have the new toolchain rebuild itself and otherwise ensure sanity

If you feel really daring, you might try a reboot now.

Do an emerge -eN world

Cross your fingers and reboot.

If it all goes to hell in a handbasket, you can try booting a livecd of the new arch, saving your /etc contents somewhere and then playing a stage tarball right on top of root. Then put your /etc back and repeat the above emerge tapdance.
Back to top
View user's profile Send private message
desultory
Administrator
Administrator


Joined: 04 Nov 2005
Posts: 7817

PostPosted: Mon Jun 04, 2007 3:17 am    Post subject: Reply with quote

TheNewOsiris wrote:
Will there be a problem running the 32-bit applications compiled for the X86 architecture on a 64-bit AMD64 architecture.
It should just work.

Moved from Kernel & Hardware to Duplicate Threads.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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