* [gentoo-user] Best CFLAGS
@ 2006-06-22 23:34 Thiago Lüttig
2006-06-22 23:50 ` Raymond Lewis Rebbeck
2006-06-23 0:20 ` ArYiX
0 siblings, 2 replies; 6+ messages in thread
From: Thiago Lüttig @ 2006-06-22 23:34 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 478 bytes --]
Hi folks, I have an Athlon XP 2600+ with 512MB of RAM and I was wondering
about the best CFLAGS to make my executables "run-like-hell" :).
Does anyone have a machine like this ?? I just can't stand windows XP
anymore on my home box, but i want to put my future gentoo box run faster
than a lightning(or something like that :] )
Thanx.
--
______________________________
Atenciosamente,
Thiago Lüttig
MSN: tluttig@hotmail.com
ICQ: 194392373
______________________________
[-- Attachment #2: Type: text/html, Size: 593 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Best CFLAGS
2006-06-22 23:34 [gentoo-user] Best CFLAGS Thiago Lüttig
@ 2006-06-22 23:50 ` Raymond Lewis Rebbeck
2006-06-23 0:20 ` ArYiX
1 sibling, 0 replies; 6+ messages in thread
From: Raymond Lewis Rebbeck @ 2006-06-22 23:50 UTC (permalink / raw
To: gentoo-user
On Friday, 23 June 2006 9:04, Thiago Lüttig wrote:
> Hi folks, I have an Athlon XP 2600+ with 512MB of RAM and I was wondering
> about the best CFLAGS to make my executables "run-like-hell" :).
> Does anyone have a machine like this ?? I just can't stand windows XP
> anymore on my home box, but i want to put my future gentoo box run faster
> than a lightning(or something like that :] )
> Thanx.
The best cflags are those on the safe cflags list at:
http://gentoo-wiki.com/Safe_Cflags
If you use stupid cflags you will most probably encounter serious breakage and
simply be told to revert to the safe cflags and emerge world before you
receive much help.
Packages that benefit greatly from certain cflags usually override your cflags
with better ones in the ebuild. For example I believe xine-lib will force -O3
regardless of what you specify in make.conf.
--
Raymond Lewis Rebbeck
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Best CFLAGS
2006-06-22 23:34 [gentoo-user] Best CFLAGS Thiago Lüttig
2006-06-22 23:50 ` Raymond Lewis Rebbeck
@ 2006-06-23 0:20 ` ArYiX
2006-06-23 0:38 ` Teresa and Dale
2006-06-23 1:25 ` Hemmann, Volker Armin
1 sibling, 2 replies; 6+ messages in thread
From: ArYiX @ 2006-06-23 0:20 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 603 bytes --]
2006/6/22, Thiago Lüttig <tluttig@gmail.com>:
>
> Hi folks, I have an Athlon XP 2600+ with 512MB of RAM and I was wondering
> about the best CFLAGS to make my executables "run-like-hell" :).
> Does anyone have a machine like this ?? I just can't stand windows XP
> anymore on my home box, but i want to put my future gentoo box run faster
> than a lightning(or something like that :] )
> Thanx.
>
Best for what?
-march=athlon-xp -mtune=athlon-xp -O2 -pipe
is safe and give you a great performance
i use this CFLAGS for a similar machine Athlon XP 2600 (core Barton)
--aryix
[-- Attachment #2: Type: text/html, Size: 989 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Best CFLAGS
2006-06-23 0:20 ` ArYiX
@ 2006-06-23 0:38 ` Teresa and Dale
2006-06-23 1:25 ` Hemmann, Volker Armin
1 sibling, 0 replies; 6+ messages in thread
From: Teresa and Dale @ 2006-06-23 0:38 UTC (permalink / raw
To: gentoo-user
ArYiX wrote:
> 2006/6/22, Thiago Lüttig <tluttig@gmail.com <mailto:tluttig@gmail.com>>:
>
> Hi folks, I have an Athlon XP 2600+ with 512MB of RAM and I was
> wondering about the best CFLAGS to make my executables
> "run-like-hell" :).
> Does anyone have a machine like this ?? I just can't stand windows
> XP anymore on my home box, but i want to put my future gentoo box
> run faster than a lightning(or something like that :] )
> Thanx.
>
>
>
> Best for what?
>
>
> -march=athlon-xp -mtune=athlon-xp -O2 -pipe
>
> is safe and give you a great performance
>
> i use this CFLAGS for a similar machine Athlon XP 2600 (core Barton)
>
> --aryix
I have been using this one for quite a while now and no problems yet anyway.
> CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer
> -momit-leaf-frame-pointer -fno-ident -pipe"
I got it from here:
http://forums.gentoo.org/viewtopic-p-2314776.html#2314776 We have
pretty similiar rigs. AMD 2500+ with 1GB of ram.
Hope that helps
Dale
:-) :-)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Best CFLAGS
2006-06-23 0:20 ` ArYiX
2006-06-23 0:38 ` Teresa and Dale
@ 2006-06-23 1:25 ` Hemmann, Volker Armin
2006-06-23 5:48 ` Graham Murray
1 sibling, 1 reply; 6+ messages in thread
From: Hemmann, Volker Armin @ 2006-06-23 1:25 UTC (permalink / raw
To: gentoo-user
On Friday 23 June 2006 02:20, ArYiX wrote:
> 2006/6/22, Thiago Lüttig <tluttig@gmail.com>:
> > Hi folks, I have an Athlon XP 2600+ with 512MB of RAM and I was wondering
> > about the best CFLAGS to make my executables "run-like-hell" :).
> > Does anyone have a machine like this ?? I just can't stand windows XP
> > anymore on my home box, but i want to put my future gentoo box run faster
> > than a lightning(or something like that :] )
> > Thanx.
>
> Best for what?
>
>
> -march=athlon-xp -mtune=athlon-xp -O2 -pipe
>
> is safe and give you a great performance
tröööt.
If you use march, mtune is superflous ;)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Best CFLAGS
2006-06-23 1:25 ` Hemmann, Volker Armin
@ 2006-06-23 5:48 ` Graham Murray
0 siblings, 0 replies; 6+ messages in thread
From: Graham Murray @ 2006-06-23 5:48 UTC (permalink / raw
To: gentoo-user
"Hemmann, Volker Armin" <volker.armin.hemmann@tu-clausthal.de> writes:
> If you use march, mtune is superflous ;)
Except for builds which override -march but do not touch -mtune.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-06-23 5:54 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-22 23:34 [gentoo-user] Best CFLAGS Thiago Lüttig
2006-06-22 23:50 ` Raymond Lewis Rebbeck
2006-06-23 0:20 ` ArYiX
2006-06-23 0:38 ` Teresa and Dale
2006-06-23 1:25 ` Hemmann, Volker Armin
2006-06-23 5:48 ` Graham Murray
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox