scc

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

0002-z80-u.sh (163B)


      1 #!/bin/sh
      2 
      3 set -e
      4 
      5 trap 'rm -f $tmp1' EXIT
      6 trap 'exit $?' HUP INT TERM
      7 
      8 tmp1=tmp1.$$
      9 
     10 $EXEC scc nm -u z80.out > $tmp1
     11 
     12 diff $tmp1 - <<!
     13                  U text6
     14 !