The unified diff between revisions [dcfa34d1..] and [4cc7246c..] 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 [4cc7246c1b6c809c9dc15997798f6deed15b3631] # # 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 +