simple.sh: Resurrect.

* simple.sh: Add src/globals.c, lib/stub/__raise.c.  Use
lib/linux/malloc.c instead of lib/stdlib/malloc.c.
This commit is contained in:
Jan (janneke) Nieuwenhuizen 2022-05-03 23:06:41 +02:00
parent b45acbfcbd
commit 5db67d91ec
1 changed files with 155 additions and 150 deletions

View File

@ -66,6 +66,7 @@ gcc -g -D HAVE_CONFIG_H=1 -I include\
src/display.c \
src/eval-apply.c \
src/gc.c \
src/globals.c \
src/hash.c \
src/lib.c \
src/math.c \
@ -164,8 +165,10 @@ EOF
## Build ##
compiler=gcc # not configurable
$CC -g -D HAVE_CONFIG_H=1 -I include -I include/$mes_kernel/$mes_cpu\
-nostdinc -nostdlib -fno-builtin -fno-stack-protector\
$CC -g -D HAVE_CONFIG_H=1 \
-I include -I include/$mes_kernel/$mes_cpu \
-nostdinc -nostdlib \
-fno-builtin -fno-stack-protector \
-o out-mes/mes \
\
lib/linux/$mes_cpu-mes-gcc/crt1.c \
@ -203,6 +206,7 @@ $CC -g -D HAVE_CONFIG_H=1 -I include -I include/$mes_kernel/$mes_cpu\
lib/ctype/isspace.c \
lib/ctype/isxdigit.c \
\
lib/stub/__raise.c \
lib/mes/__assert_fail.c \
lib/mes/assert_msg.c \
lib/mes/__buffered_read.c \
@ -223,7 +227,7 @@ $CC -g -D HAVE_CONFIG_H=1 -I include -I include/$mes_kernel/$mes_cpu\
lib/stdio/putchar.c \
lib/stdio/ungetc.c \
lib/stdlib/free.c \
lib/stdlib/malloc.c\
lib/linux/malloc.c \
lib/stdlib/realloc.c \
lib/string/memchr.c \
lib/string/memcmp.c \
@ -262,6 +266,7 @@ $CC -g -D HAVE_CONFIG_H=1 -I include -I include/$mes_kernel/$mes_cpu\
src/display.c \
src/eval-apply.c \
src/gc.c \
src/globals.c \
src/hash.c \
src/lib.c \
src/math.c \