Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Downgrading Hardware (Changing CHOST)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Influence
n00b
n00b


Joined: 29 Mar 2003
Posts: 7

PostPosted: Sun Aug 21, 2005 4:12 pm    Post subject: Downgrading Hardware (Changing CHOST) Reply with quote

Hi there!

Untily recently I've secured my wireless network using IPSEC, but now since I've switched to a WPA2 capable access point, my Pentium 2-350 seems grossly oversized and idles most of his time.

Therefore I'm planning to move my internet gateway to an old dell featuring a 133 megahertz pentium. Now I would very much like to keep my 2 year old gentoo installation whichs just runs perfectly ever since.

So to get there i need to change my CFLAGS from
"-march=pentium2 -O3 -pipe -fomit-frame-pointer" to
"-march=pentium -O3 -pipe -fomit-frame-pointer"

change my cpu in the kernel config

and my CHOST from
"i686-pc-linux-gnu"
to
"i586-pc-linux-gnu", right?

Then recompile everything using --emptytree and move the harddisk to my old dell.

Only problem is: As far as I know I just can't change CHOST without breaking everything, so what's the right way to do this? Or is this just not possible?

Thanks for your help,
Influence
Back to top
View user's profile Send private message
majk
n00b
n00b


Joined: 17 Jul 2005
Posts: 19
Location: Europe, Croatia, Ri

PostPosted: Sun Aug 21, 2005 4:24 pm    Post subject: Reply with quote

Maybe right option for processor is "-march=pentium-mmx" or something
like that. Try "man make.conf".

I think you must recompile all installed packages (non binary) when changing CHOST,
wouldn't this be a nightmare on 166Mhz processor?
Back to top
View user's profile Send private message
Influence
n00b
n00b


Joined: 29 Mar 2003
Posts: 7

PostPosted: Sun Aug 21, 2005 4:35 pm    Post subject: Reply with quote

majk wrote:
Maybe right option for processor is "-march=pentium-mmx" or something
like that. Try "man make.conf".


"pentium" should be right since the cpu does not support mmx.

majk wrote:
I think you must recompile all installed packages (non binary) when changing CHOST,
wouldn't this be a nightmare on 166Mhz processor?


Well I think I _must_ recompile everything on my pentium 2 (with changed CFLAGS and CHOST) cos I would not even be able to boot on my pentium 133 with the p2 optimized binaries, right?

But yeah, even on the P2 a full recompile is going to be a nightmare.
Back to top
View user's profile Send private message
adsmith
Veteran
Veteran


Joined: 26 Sep 2004
Posts: 1386
Location: NC, USA

PostPosted: Sun Aug 21, 2005 4:38 pm    Post subject: Reply with quote

unless you have a more modern high-powered machine to do the compiling for your older machines and if this is just an internet gateway/router, then just go grab a binary distribution custom made for firewalling, etc. No sense spending 3 weeks compiling....
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Sun Aug 21, 2005 4:50 pm    Post subject: Reply with quote

Just a note, the man page to check info about architectures and the like is the gcc man page. make.conf man page is about the layout of that file, but have no specific info about archs and so.

Also, I agree with adsmith. I would put something like red hat into that box. There is no point into customizing a machine that you will never play with.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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