View Single Post
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#6
Originally Posted by jj0 View Post
I build a lotta stuff on the N900 when I don't have access to the PC, or it won't build in scratchbox...
If you are using the SDK repository compiler they have the same defaults IIRC.

Originally Posted by jj0 View Post
So wouldnd't -O3 be better?
Not necessarily, it will probably slow things down because of memory pressure. As usual, the answer is: don't assume it is, and benchmark.

Originally Posted by jj0 View Post
-fmessage-length=0 -ftree-vectorize -Os -pipe
tree-vectorize does virtually nothing with the GCC version we have, and message-length does not change anything in the resulting binary...
 

The Following 2 Users Say Thank You to javispedro For This Useful Post: