userland: replace legacy cc with native TCC and vendor submodule

This commit is contained in:
boreddevnl
2026-05-09 01:54:09 +02:00
parent e2ecef39e6
commit 93722faa91
546 changed files with 145840 additions and 564 deletions

View File

@@ -0,0 +1,10 @@
#!/bin/bash
CC=x86_64-elf-gcc
AR=x86_64-elf-ar
CFLAGS="-O2 -m64 -march=x86-64 -fno-stack-protector -ffreestanding -nostdlib -I. -I./include -I../../../sdk/include"
echo "Building libtcc1.a..."
$CC $CFLAGS -c lib/libtcc1.c -o libtcc1.o
$AR rcs libtcc1.a libtcc1.o
rm libtcc1.o
echo "Done."