Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What CFLAGS for athlon-xp stage3?
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
theosib
Apprentice
Apprentice


Joined: 09 Mar 2004
Posts: 207

PostPosted: Thu Mar 18, 2004 12:49 am    Post subject: What CFLAGS for athlon-xp stage3? Reply with quote

It's been suggested that since I have an Athlon XP, I might want to use a pre-built stage3 tarball, ready-made for Athlon XP, instead of starting with stage1.

Unfortunately, I can't seem to find documentation anywhere indicating what CFLAGS were used when building the athlon-xp stage3. Does anyone know?

Thanks.
Back to top
View user's profile Send private message
bombcar
Guru
Guru


Joined: 08 Apr 2003
Posts: 453
Location: Wisconsin

PostPosted: Thu Mar 18, 2004 12:51 am    Post subject: Reply with quote

I'm going to guess it was something very close to the "Safe CFLAGS" as seen at http://reviewed.homelinux.org/howtos/compiling/safe-cflags/

But that's just a guess.
Back to top
View user's profile Send private message
theosib
Apprentice
Apprentice


Joined: 09 Mar 2004
Posts: 207

PostPosted: Thu Mar 18, 2004 1:00 am    Post subject: Ah... Reply with quote

Ok, thanks.

Interestingly enough, I've found -O3 to generally hurt performance. It's the -frename-registers flag that actually slows things down. -finline-functions generally speeds things up. So for me, it was "-O2 -finline-functions -fomit-frame-pointer -march=athlon-xp".

I guess I'll build from scratch. :)
Back to top
View user's profile Send private message
mattjgalloway
l33t
l33t


Joined: 16 Mar 2004
Posts: 761
Location: Coventry, UK

PostPosted: Thu Mar 18, 2004 1:18 am    Post subject: Reply with quote

With my athlon xp I used:
-march=athlon-xp -O2 -pipe

They seemed to work fine for me! I did have -fomit-frame-pointer aswell, but removed due to errors compiling KDE with it in.

Stage 3 can be good I guess seeing as there are ready made stage 2 and 3's for athlon-xp, but I learnt lots from doing a stage 1, and it wasn't THAT hard.
My advice to you - go for a stage 1!
Back to top
View user's profile Send private message
theosib
Apprentice
Apprentice


Joined: 09 Mar 2004
Posts: 207

PostPosted: Thu Mar 18, 2004 1:51 am    Post subject: -fomit-frame-pointer Reply with quote

I once THOUGHT I had a problem with omit-frame-pointer, but it turned out that my memory settings were too aggressive.

Anyhow, I've started with stage1. I'm actually doing it for the second time, so all my config files, like make.conf, I saved, so I got to streamline some of the steps.
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