scc

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

0002-z80-u.sh (173B)


      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 scc nm -u z80.out > $tmp1
     10 
     11 cat <<! > $tmp2
     12                  U text6
     13 !
     14 
     15 diff $tmp1 $tmp2