The unified diff between revisions [dcfa34d1..] and [65df00aa..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'optimtest'
# # old_revision [dcfa34d1bbf576aab0f0d0ed1b0c64dc6160ee5b] # new_revision [65df00aa2705ce33fd74f4dd706d2879fe99b2b0] # # add_file "optimtest" # content [b5e1e38fa3289cabca6affe4e1f370b8f4220a5c] # # set "optimtest" # attr "mtn:execute" # value "true" # ============================================================ --- /dev/null +++ optimtest b5e1e38fa3289cabca6affe4e1f370b8f4220a5c @@ -0,0 +1,17 @@ +#!/bin/sh + +OUTPUT= + +for COPTIM in -O0 -O1 -O2 -O3 -Os +do + make clean + make COPTIM=$COPTIM + SIZE=`ls -l quad.bin | awk '{ print \$5 }'` + LINE="$COPTIM: $SIZE" + OUTPUT="$OUTPUT $LINE" +done + +make clean + +echo $OUTPUT +