Create empty files for tcc inside chroot

This commit is contained in:
fosslinux 2021-01-13 21:38:34 +11:00
parent f3ad93a1ae
commit 866909fbf7
2 changed files with 8 additions and 3 deletions

View file

@ -17,6 +17,10 @@ MES=${bindir}/mes
# Initial tcc
cd tcc-0.9.26
# Create config.h
catm config.h
${MES} --no-auto-compile -e main ${bindir}/mescc.scm -- \
-S \
-o tcc.s \
@ -379,6 +383,9 @@ tcc -ar cr ${libdir}/libgetopt.a getopt.o
# Now compile tcc 0.9.27
cd ../tcc-0.9.27
# Create config.h
catm config.h
# Compile the binary
tcc \
-v \