From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HauN0-00009W-LS for garchives@archives.gentoo.org; Mon, 09 Apr 2007 13:57:23 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l39Dsgj3011011; Mon, 9 Apr 2007 13:54:42 GMT Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.229]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l39DhsGV023623 for ; Mon, 9 Apr 2007 13:43:54 GMT Received: by wr-out-0506.google.com with SMTP id i4so944760wra for ; Mon, 09 Apr 2007 06:43:53 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=AuGnDVBlJ8EkMYFBr8njeu0pcyxc3Gg4RYRnM4GfSM9OspMdjMeUzxWumsb1RLqlMLKoRt0m7Ncq6xF46IowlnOWVvo4nf9StjOhFMfrTMo1AVYAsFwIA4cZYGhPqjm1QXDyxAybGgO590xHfsGuPEML0yIBtf1xUMPbDedj0Wk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=GuToCkWWw1QZHvzJfNSt9+UOmVZVfYcKKI6n3MMAc3HNXlgjMjAPvYfn1BNJjpKD53OYntOO7/KJibbKr0C/ifcP99jBjJhdlXSTRdn22RJR+mIvkRN/jkQKWgWV6mYa0X1eotZI1+bOVcCuica2zS/2yMPZE4jav6OfylwSECY= Received: by 10.114.130.1 with SMTP id c1mr927459wad.1176126233121; Mon, 09 Apr 2007 06:43:53 -0700 (PDT) Received: by 10.115.47.13 with HTTP; Mon, 9 Apr 2007 06:43:53 -0700 (PDT) Message-ID: <2fcf3fa50704090643k63373d2fsc6ec78d3cd8d6d85@mail.gmail.com> Date: Mon, 9 Apr 2007 09:43:53 -0400 From: "Francisco Rivas" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: CFLAGS "...-O3 -pipe" vs "...O2 " In-Reply-To: <2634554.yOrUIFkxP1@m-id.message-center.info> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3107_31747539.1176126233023" References: <739325.15429.qm@web31706.mail.mud.yahoo.com> <2634554.yOrUIFkxP1@m-id.message-center.info> X-Archives-Salt: 09796c1e-0b8e-4c0a-a504-c4b21bb3dff3 X-Archives-Hash: c764c1583ca3d51c7fc1ad573d0da4a8 ------=_Part_3107_31747539.1176126233023 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi all :D I think what "-march=3Dyour_arch -O2" it's enough, because -O3 it's highest but have some details (http://gentoo-wiki.com/CFLAGS#-O2_or_-O3.3F). My guess is "-march=3Dyour_a= rch -O2". I was compiled my entire system with those flags and my applications no matter which have a very good functionality... I hope give you some help to make your decision... On 4/9/07, Alexander Skwar wrote: > > =B7 maxim wexler : > > > One suggests using -O3 -pipe, the other, -O2 without > > the pipe. > > The resulting binaries of a -O2 -pipe compile will be > the same as those of a -O2 (no pipe) compile. > > See > http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Overall-Options.html#index-pi= pe-81 > > > How much difference does this make? Is the extra level > > of optimization with pipe the equivalent of the lower > > level without? > > There's no extra level of optimization. > > So the question boils down to: Is -O3 better than -O2? Answer: Depends. > On a system with not that much cache, it might not be. > > Alexander Skwar > -- > BOFH Excuse #16: > > somebody was calculating pi on the server > > > -- > gentoo-user@gentoo.org mailing list > > --=20 ['Cause without love I won't survive, I love you]. I Francisco Rivas 2.6.19-gentoo-r5 x86 udev v087 gnome 2.16.2 xorg-x11-7.1 hotplug v20040923-r2 e-mail : fjrivas@uc.edu.ve msn : taken2k4@gmail.com -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/E/IT/MU d-(+)@ s++: a-- C++++>++++ ULSC*()>+++ P+(++)>+++ L++(+++)>++++ !E--- W+>++ !N* !o-(--)>-- K--? !w--- !O !M !V PS@ !PE@ Y> PGP t 5 X R+>+ tv- b DI D G e++>+++ h-> r++>+++ y- ------END GEEK CODE BLOCK------ ------=_Part_3107_31747539.1176126233023 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi all :D

I think what "-march=3Dyour_arch -O2" it's e= nough, because -O3 it's highest but have some details
(http://gentoo-wiki.com/CFLAGS#-= O2_or_-O3.3F ). My guess is "-march=3Dyour_arch -O2". I was compiled my en= tire system with those flags and my applications no matter which have a ver= y good functionality...

I hope give you some help to make your decis= ion...

On 4/9/07, Alexander Skwar <listen@alexander.skwar.name> wrote:
=B7 maxim wexler <blissfix@yahoo.c= om>:

> One suggests using -O3 -pipe, the other, -O2 withou= t
> the pipe.

The resulting binaries of a -O2 -pipe compile wi= ll be
the same as those of a -O2 (no pipe) compile.

See gentoo-us= er@gentoo.org mailing list




-- ['Cause without love I won't survive, I love you]. I

Fran= cisco Rivas
2.6.19-gentoo-r5 x86
udev v087 gnome 2.16.2
xorg-x11-= 7.1 hotplug v20040923-r2
e-mail : fjri= vas@uc.edu.ve
msn : taken2k4@g= mail.com

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/= E/IT/MU d-(+)@ s++: a-- C++++>++++ ULSC*()>+++ P+(++)>+++ L++(+++)= >++++ !E--- W+>++ !N* !o-(--)>-- K--? !w--- !O !M !V PS@ !PE@ Y>= ; PGP t 5 X R+>+ tv- b DI D G e++>+++ h-> r++>+++ y-
------END GEEK CODE BLOCK------ ------=_Part_3107_31747539.1176126233023-- -- gentoo-user@gentoo.org mailing list