scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 2dcd40990f0adaccfdda8643e7c19c31b1166bb8
parent 7821ee7ea87d76e9725b589d2023a148cb03807a
Author: Andrew Chambers <andrewchamberss@gmail.com>
Date:   Thu, 16 Feb 2017 22:36:56 +1300

[test]Force delete libcc.a so scc is actually used to rebuild it.

Doing so found some files that did not actually compile without error
so revert that too.

Diffstat:
Mtests/selfhost.sh | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests/selfhost.sh b/tests/selfhost.sh @@ -10,13 +10,13 @@ set -u unset SCCEXECPATH selfhostedobj=\ -"lib/debug.o - lib/die.o - lib/newitem.o - lib/xstrdup.o +"lib/xstrdup.o lib/xmalloc.o lib/xcalloc.o lib/xrealloc.o" +#lib/newitem.o +#lib/debug.o +#lib/die.o #driver/posix/scc.o #cc1/error.o #cc1/stmt.o @@ -58,7 +58,7 @@ make clean make PREFIX="$boostrapdir" install export PATH="$boostrapdir/bin:$PATH" -rm bin/scc bin/cc* +rm lib/libcc.a bin/scc bin/cc* rm $selfhostedobj make CC=scc tests