Thread
:
Best CFLAGS for N900?
View Single Post
javispedro
2011-04-03 , 18:00
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#
3
Best flags usually are:
-O2
With sometimes -Os being better, depending on your application. If it does lots of 32-bit floating point operations, mfpu=neon might also help. Benchmark as necessary
Half of the stuff you're specifying is already the default in scratchbox (mcpu, mtune, fomit-frame-pointer, mfpu=vfpv3, mfloat-abi, mlittle-endian),
the other half is contradictory (mfpu=neon when you also specified mfpu=vfp ?) ,
and some do not exist (O4, O5, O6, ...).
My suggestion is that you use as few flags as possible.
Last edited by javispedro; 2011-04-03 at
18:04
.
Quote & Reply
|
The Following User Says Thank You to javispedro For This Useful Post:
jj0
javispedro
View Public Profile
Send a private message to javispedro
Visit javispedro's homepage!
Find all posts by javispedro