View previous topic :: View next topic |
Author |
Message |
DaleNixon Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Space Quest/Space_Quest_-_Arnoid.gif)
Joined: 13 Jul 2002 Posts: 91
|
Posted: Sat Jun 07, 2003 2:38 pm Post subject: Thunderbird to XP |
|
|
My system's cpu is currently a 1.3GHz Athlon Thunderbird. I use the following CFLAGS:
CFLAGS="-march=athlon-tbird -O3 -pipe"
A friend is about to sell me his old Athlon XP 1900. Will my packages compiled with the above CFLAGS run on this new processor? From what I've read, the -march flag breaks compatibility with /older/ cpu's, not newer ones.
The reason I'm asking is because I have about a week before I get the new processor, and I'm debating doing an emerge -e world with my CFLAGS set to "-mcpu=athlon-xp -03 -pipe". Anyone have any insight into this matter? _________________ $umount /mnt/brain
umount: /mnt/brain is not mounted (according to mtab) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
spirinaites n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 26 May 2002 Posts: 15 Location: Lisboa - Portugal
|
Posted: Sat Jun 07, 2003 3:54 pm Post subject: |
|
|
I had a 1GHz Athlon Thunderbird compiled with CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer", just moved my hard drive to a Athlon XP 1900+, no changes made and everything is working. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
DaleNixon Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Space Quest/Space_Quest_-_Arnoid.gif)
Joined: 13 Jul 2002 Posts: 91
|
Posted: Sat Jun 07, 2003 4:20 pm Post subject: |
|
|
Excellent! Thanks! _________________ $umount /mnt/brain
umount: /mnt/brain is not mounted (according to mtab) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gearheadsmp n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/TV Stars/scotty1.jpg)
Joined: 05 Jun 2002 Posts: 38 Location: Memphis, Tennessee
|
Posted: Sat Jun 07, 2003 10:37 pm Post subject: possibly |
|
|
Using -03 breaks compatibility with other CPU's (ie trying to copy binaries from a P3 to a AthlonMP). The switch from a Tbird to a 1900+, with the 1900+ being a Palamino (or at least that's the kind of 1900+ NewEgg has in stock) won't affect you, because you (theoretically) won't be removing any of the flags the Tbird optimizations had. In hindsight, the XP/MP line support SSE, so you'll prolly want to remerge glibc and some of your math-oriented apps for that. As to what CFLAGS to use, I use the following which I copied off the great CFFlags Central thread:
Code: | CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow -msse -mfpmath=sse,387" |
I use this with my Barton 2500+. _________________ "Captain, yer overloadin' her as it is. The power supply just isn't built to take two hard drrrives." |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|