Build blynn-compiler all the way to precisely.

This commit is contained in:
Andrius Štikonas 2021-01-09 11:46:13 +00:00 committed by fosslinux
parent bce6fb1e4e
commit 0ee6017471
1 changed files with 99 additions and 0 deletions

View File

@ -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