The unified diff between revisions [dcfa34d1..] and [5ddceb38..] is displayed below. It can also be downloaded as a raw diff.
# # old_revision [dcfa34d1bbf576aab0f0d0ed1b0c64dc6160ee5b] # new_revision [5ddceb38e22c73a2d7c630837716676d5ff14a38] # # 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 +