View previous topic :: View next topic |
Author |
Message |
theosib Apprentice
Joined: 09 Mar 2004 Posts: 207
|
Posted: Thu Mar 18, 2004 12:49 am Post subject: What CFLAGS for athlon-xp stage3? |
|
|
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 |
|
|
bombcar Guru
Joined: 08 Apr 2003 Posts: 453 Location: Wisconsin
|
|
Back to top |
|
|
theosib Apprentice
Joined: 09 Mar 2004 Posts: 207
|
Posted: Thu Mar 18, 2004 1:00 am Post subject: Ah... |
|
|
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 |
|
|
mattjgalloway l33t
Joined: 16 Mar 2004 Posts: 761 Location: Coventry, UK
|
Posted: Thu Mar 18, 2004 1:18 am Post subject: |
|
|
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 |
|
|
theosib Apprentice
Joined: 09 Mar 2004 Posts: 207
|
Posted: Thu Mar 18, 2004 1:51 am Post subject: -fomit-frame-pointer |
|
|
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 |
|
|
|