scc

A fork of https://git.simple-cc.org/scc/ for Qute

git clone https://git.8pit.net/scc.git

 1#!/bin/sh
 2
 3set -e
 4
 5trap 'rm -f $tmp1 $tmp2' EXIT
 6trap 'exit $?' HUP INT TERM
 7
 8tmp1=tmp1.$$
 9tmp2=tmp2.$$
10
11cp z80.out $tmp1
12$EXEC scc strip $tmp1 > $tmp2
13$EXEC scc nm $tmp1 >> $tmp2 2>&1 || true
14
15diff $tmp2 - <<EOF
16scc-nm: $tmp1: no symbols
17EOF