Take the 2-minute tour ×  I'm currently working on an embedded
device application (in C). What optimization flag should I use
for compiling that application keeping in mind that it only has
96 MB of RAM.  Also, please note that in this application, I'm
basically pre-processing the JPEG image. So which optimization
flag should I use ?  Also, does stripping this app will have any
effect on efficiency and speed ?  The OS on which I'm running
this app is Linux 2.6.37.  share|improve this question Is the
app so bit that it may not fit into 96MB? What's stripping?
Removing debug symbols/info from the executable or something
else? –  Alexey Frunze Oct 8 '12 at 9:09 Please don't choose the
optimization flag based on somebody's opinion. Benchmark them
yourself, and see if the trade-off is worth it. Anyway, based on
the amount of information you have shared, its not possible for
anyone to make a meaningful suggestion. –  ArjunShankar Oct 8
'12 at 9:18 Also, read this. –  ArjunShankar Oct 8 '12 at 9:21
add comment  2 An