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:
parent
eefc0326ed
commit
627b3089c9
11
simple.sh
11
simple.sh
|
@ -66,6 +66,7 @@ gcc -g -D HAVE_CONFIG_H=1 -I include\
|
||||||
src/display.c \
|
src/display.c \
|
||||||
src/eval-apply.c \
|
src/eval-apply.c \
|
||||||
src/gc.c \
|
src/gc.c \
|
||||||
|
src/globals.c \
|
||||||
src/hash.c \
|
src/hash.c \
|
||||||
src/lib.c \
|
src/lib.c \
|
||||||
src/math.c \
|
src/math.c \
|
||||||
|
@ -164,8 +165,10 @@ EOF
|
||||||
|
|
||||||
## Build ##
|
## Build ##
|
||||||
compiler=gcc # not configurable
|
compiler=gcc # not configurable
|
||||||
$CC -g -D HAVE_CONFIG_H=1 -I include -I include/$mes_kernel/$mes_cpu\
|
$CC -g -D HAVE_CONFIG_H=1 \
|
||||||
-nostdinc -nostdlib -fno-builtin -fno-stack-protector\
|
-I include -I include/$mes_kernel/$mes_cpu \
|
||||||
|
-nostdinc -nostdlib \
|
||||||
|
-fno-builtin -fno-stack-protector \
|
||||||
-o out-mes/mes \
|
-o out-mes/mes \
|
||||||
\
|
\
|
||||||
lib/linux/$mes_cpu-mes-gcc/crt1.c \
|
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/isspace.c \
|
||||||
lib/ctype/isxdigit.c \
|
lib/ctype/isxdigit.c \
|
||||||
\
|
\
|
||||||
|
lib/stub/__raise.c \
|
||||||
lib/mes/__assert_fail.c \
|
lib/mes/__assert_fail.c \
|
||||||
lib/mes/assert_msg.c \
|
lib/mes/assert_msg.c \
|
||||||
lib/mes/__buffered_read.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/putchar.c \
|
||||||
lib/stdio/ungetc.c \
|
lib/stdio/ungetc.c \
|
||||||
lib/stdlib/free.c \
|
lib/stdlib/free.c \
|
||||||
lib/stdlib/malloc.c\
|
lib/linux/malloc.c \
|
||||||
lib/stdlib/realloc.c \
|
lib/stdlib/realloc.c \
|
||||||
lib/string/memchr.c \
|
lib/string/memchr.c \
|
||||||
lib/string/memcmp.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/display.c \
|
||||||
src/eval-apply.c \
|
src/eval-apply.c \
|
||||||
src/gc.c \
|
src/gc.c \
|
||||||
|
src/globals.c \
|
||||||
src/hash.c \
|
src/hash.c \
|
||||||
src/lib.c \
|
src/lib.c \
|
||||||
src/math.c \
|
src/math.c \
|
||||||
|
|
Loading…
Reference in New Issue