OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Gcc -o4 Flag, Is it different than -O3
ShiroiKuma
post Mar 27 2007, 10:04 AM
Post #1





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



I'm playing around with optimizing compiled packages to run fine on Ångström, but the question isn't really Ångström-specific.

I've seen on Meanie's blog on building Firefox natively that he used the -O4 option in CFLAGS.

I've looked but not found anything substantive on this flag. One Finnish page on the web states that if -On has n higher than 3, then the flag is automatically interpreted as -O3. Is this so? Or is there a difference between these?
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
Da_Blitz
post Apr 1 2007, 12:11 AM
Post #2





Group: Members
Posts: 1,565
Joined: 7-April 05
From: Sydney, Australia
Member No.: 6,806



just stick with -O2, -O3 or higer dont always produce faster binaries and somtimes will not compile (as i have found out)

if you really need spped -O640K should be good enough for anyone
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 2nd September 2014 - 01:14 AM