scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

0002-z80-u.sh (169B)


      1 #!/bin/sh
      2 
      3 set -e
      4 
      5 tmp1=`mktemp`
      6 tmp2=`mktemp`
      7 trap "rm -f $tmp1 $tmp2; exit" 0 2 3
      8 
      9 nm -u z80.out > $tmp1
     10 
     11 cat <<! > $tmp2
     12                  U text6
     13 !
     14 
     15 diff $tmp1 $tmp2