commit: 0ee601747109de3f310876b6d856a199fb85b4d8 parent bce6fb1e4e7a5db3089a738101dfa241e393ef5a Author: Andrius Štikonas <andrius@stikonas.eu> Date: Sat, 9 Jan 2021 11:46:13 +0000 Build blynn-compiler all the way to precisely.Diffstat:
M | sysa/blynn-compiler.kaem | 99 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
1 file changed, 99 insertions(+), 0 deletions(-)diff --git 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