2022-04-03 02:37:29 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# Compiling one C source with tcc and musl
|
|
|
|
# tcc-musl tests
|
|
|
|
# file: /tests/Compile.sh
|
|
|
|
# Date: 2022.04.03
|
|
|
|
|
2022-04-15 01:24:53 +00:00
|
|
|
tcc $1 -nostdlib ../lib/Scrt1.o -o $2 -Wall -Werror -g -O0 \
|
|
|
|
-pedantic -Wextra -I ../include -I ../obj/include \
|
|
|
|
-I ../arch/x86_64/ -I ../arch/generic ldscript.ld -nostdinc
|