From 0ee601747109de3f310876b6d856a199fb85b4d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Sat, 9 Jan 2021 11:46:13 +0000 Subject: [PATCH] Build blynn-compiler all the way to precisely. --- sysa/blynn-compiler.kaem | 99 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) diff --git a/sysa/blynn-compiler.kaem b/sysa/blynn-compiler.kaem index 13ce2d8..1159a2c 100755 --- a/sysa/blynn-compiler.kaem +++ b/sysa/blynn-compiler.kaem @@ -147,3 +147,102 @@ hex2 -f test/common_x86/ELF-i386-debug.hex2 \ --architecture x86 \ --BaseAddress 0x8048000 \ -o bin/marginally --exec_enable + +# Make methodically +./bin/marginally methodically.hs generated/methodically.c +M2-Planet --architecture x86 \ + -f functions/file.c \ + -f functions/exit.c \ + -f functions/malloc.c \ + -f functions/calloc.c \ + -f functions/file_print.c \ + -f functions/in_set.c \ + -f functions/numerate_number.c \ + -f functions/match.c \ + -f functions/require.c \ + -f generated/methodically.c \ + --debug \ + -o bin/methodically.M1 + +blood-elf -f bin/methodically.M1 --entry _start -o bin/methodically-footer.M1 + +M1 -f test/common_x86/x86_defs.M1 \ + -f test/common_x86/libc-core.M1 \ + -f bin/methodically.M1 \ + -f bin/methodically-footer.M1 \ + --LittleEndian \ + --architecture x86 \ + -o bin/methodically.hex2 + +hex2 -f test/common_x86/ELF-i386-debug.hex2 \ + -f bin/methodically.hex2 \ + --LittleEndian \ + --architecture x86 \ + --BaseAddress 0x8048000 \ + -o bin/methodically --exec_enable + +# Make crossly +./bin/methodically crossly.hs generated/crossly.c +M2-Planet --architecture x86 \ + -f functions/file.c \ + -f functions/exit.c \ + -f functions/malloc.c \ + -f functions/calloc.c \ + -f functions/file_print.c \ + -f functions/in_set.c \ + -f functions/numerate_number.c \ + -f functions/match.c \ + -f functions/require.c \ + -f generated/crossly.c \ + --debug \ + -o bin/crossly.M1 + +blood-elf -f bin/crossly.M1 --entry _start -o bin/crossly-footer.M1 + +M1 -f test/common_x86/x86_defs.M1 \ + -f test/common_x86/libc-core.M1 \ + -f bin/crossly.M1 \ + -f bin/crossly-footer.M1 \ + --LittleEndian \ + --architecture x86 \ + -o bin/crossly.hex2 + +hex2 -f test/common_x86/ELF-i386-debug.hex2 \ + -f bin/crossly.hex2 \ + --LittleEndian \ + --architecture x86 \ + --BaseAddress 0x8048000 \ + -o bin/crossly --exec_enable + +# Make precisely +./bin/crossly precisely.hs generated/precisely.c +M2-Planet --architecture x86 \ + -f functions/file.c \ + -f functions/exit.c \ + -f functions/malloc.c \ + -f functions/calloc.c \ + -f functions/file_print.c \ + -f functions/in_set.c \ + -f functions/numerate_number.c \ + -f functions/match.c \ + -f functions/require.c \ + -f generated/precisely.c \ + --debug \ + -o bin/precisely.M1 + +blood-elf -f bin/precisely.M1 --entry _start -o bin/precisely-footer.M1 + +M1 -f test/common_x86/x86_defs.M1 \ + -f test/common_x86/libc-core.M1 \ + -f bin/precisely.M1 \ + -f bin/precisely-footer.M1 \ + --LittleEndian \ + --architecture x86 \ + -o bin/precisely.hex2 + +hex2 -f test/common_x86/ELF-i386-debug.hex2 \ + -f bin/precisely.hex2 \ + --LittleEndian \ + --architecture x86 \ + --BaseAddress 0x8048000 \ + -o bin/precisely --exec_enable