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? |
|
|
|
![]() |
Mar 28 2007, 02:17 AM
Post
#2
|
|
![]() Group: Admin Posts: 3,277 Joined: 29-July 04 From: Cambridge, England Member No.: 4,149 |
If you haven't seen the film "Spinal Tap", the joke won't make any sense.
|
|
|
|
Mar 28 2007, 04:58 AM
Post
#3
|
|
|
Group: Members Posts: 902 Joined: 22-May 04 Member No.: 3,385 |
|
|
|
|
Mar 28 2007, 05:00 AM
Post
#4
|
|
![]() Group: Members Posts: 1,014 Joined: 4-January 05 From: Enschede, The Netherlands Member No.: 6,107 |
QUOTE(ShiroiKuma @ Mar 28 2007, 12:58 PM) QUOTE(speculatrix @ Mar 28 2007, 11:17 AM) How about the original issue though, is there really an -O4 flag that furthers optimization, or is it just the same as -O3? Just keep in mind that you're reading from *slow* media into a tiny amount of RAM, so 'optimized' binaries will execute slower in the end. I heard the people at nokia use -Os for certain applications because execution time is IO-limited. |
|
|
|
ShiroiKuma Gcc -o4 Flag Mar 27 2007, 10:04 AM
speculatrix that's using the Spinal Tap version of the com... Mar 27 2007, 01:18 PM
adf QUOTE(speculatrix @ Mar 27 2007, 09:18 PM)tha... Mar 27 2007, 03:16 PM
Meanie QUOTE(adf @ Mar 28 2007, 09:16 AM)QUOTE(specu... Mar 27 2007, 11:42 PM
ZDevil Well then, i have another curiosity question: how ... Mar 31 2007, 11:04 PM
Da_Blitz just stick with -O2, -O3 or higer dont always prod... Apr 1 2007, 12:11 AM
ShiroiKuma QUOTE(Da_Blitz @ Apr 1 2007, 09:11 AM)if you ... Apr 1 2007, 09:44 AM
adf QUOTE(ShiroiKuma @ Apr 1 2007, 05:44 PM)QUOTE... Apr 1 2007, 10:14 AM![]() ![]() |
|
Lo-Fi Version | Time is now: 23rd May 2013 - 10:10 AM |