123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- #!/bin/bash
- ## Copyright (C) 2019 Jeremiah Orians
- ## This file is part of Gnu Mes
- ##
- ## Gnu Mes is free software: you can redistribute it and/or modify
- ## it under the terms of the GNU General Public License as published by
- ## the Free Software Foundation, either version 3 of the License, or
- ## (at your option) any later version.
- ##
- ## Gnu Mes is distributed in the hope that it will be useful,
- ## but WITHOUT ANY WARRANTY; without even the implied warranty of
- ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- ## GNU General Public License for more details.
- ##
- ## You should have received a copy of the GNU General Public License
- ## along with Gnu Mes. If not, see <http://www.gnu.org/licenses/>.
- M2-Planet --debug --architecture amd64 \
- --bootstrap-mode \
- -f mes.h \
- -f ../M2-Planet/test/common_amd64/functions/file.c \
- -f ../M2-Planet/test/common_amd64/functions/exit.c \
- -f ../M2-Planet/test/common_amd64/functions/malloc.c \
- -f ../M2-Planet/functions/calloc.c \
- -f mes.c \
- -f mes_cell.c \
- -f mes_builtins.c \
- -f mes_eval.c \
- -f mes_print.c \
- -f mes_read.c \
- -f mes_tokenize.c \
- -f mes_vector.c \
- -f mes_list.c \
- -f mes_string.c \
- -f mes_keyword.c \
- -f mes_record.c \
- -f mes_init.c \
- -f mes_macro.c \
- -f mes_posix.c \
- -f functions/numerate_number.c \
- -f functions/match.c \
- -f functions/file_print.c \
- -f functions/in_set.c \
- -o bin/mes.M1
- blood-elf --64 -f bin/mes.M1 -o bin/mes-footer.M1
- M1 -f ../M2-Planet/test/common_amd64/amd64_defs.M1 \
- -f ../M2-Planet/test/common_amd64/libc-core.M1 \
- -f bin/mes.M1 \
- -f bin/mes-footer.M1 \
- --LittleEndian \
- --architecture amd64 \
- -o bin/mes.hex2
- hex2 -f ../M2-Planet/test/common_amd64/ELF-amd64-debug.hex2 \
- -f bin/mes.hex2 \
- --LittleEndian \
- --architecture amd64 \
- --BaseAddress 0x00600000 \
- -o bin/mes-m2 \
- --exec_enable
|