summaryrefslogtreecommitdiff
path: root/miniany/autobuild.sh
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-10-10 19:44:33 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-10-10 19:45:58 +0200
commit121209ac9702979d16b73340ec6a3a38adbe1b03 (patch)
tree424b3d44d03b0a849a3538435e50ed6715581c0d /miniany/autobuild.sh
parent7f32ad51b0f08446d7f66e5403d69299d0d60021 (diff)
downloadcompilertests-121209ac9702979d16b73340ec6a3a38adbe1b03.tar.gz
compilertests-121209ac9702979d16b73340ec6a3a38adbe1b03.tar.bz2
added documenation from REQUIREMENTS to cc.wg (README.html)
added a TODO file added an automatic build file with entr
Diffstat (limited to 'miniany/autobuild.sh')
-rwxr-xr-xminiany/autobuild.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/miniany/autobuild.sh b/miniany/autobuild.sh
new file mode 100755
index 0000000..e174ff4
--- /dev/null
+++ b/miniany/autobuild.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+cat >/tmp/autobuild_tmp_$$.sh <<EOF
+#!/bin/bash
+
+echo "---"
+./build.sh cc tcc hosted d
+./cc < test1.c > test1.asm
+fasm test1.asm test1.bin
+../ecomp-c/emul -v test1.bin
+EOF
+chmod 775 /tmp/autobuild_tmp_$$.sh
+
+ls cc.c c4.c ../ecomp-c/emul.c ../ecomp-c/asm-i386.c test1.c | \
+ entr bash /tmp/autobuild_tmp_$$.sh
+rm -f /tmp/autobuild_tmp_$$.sh
+