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
5f73e64480
commit
fc6e88ab89
11
simple.sh
11
simple.sh
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue