#!/bin/sh
exec x86_64-elf-gcc -ffreestanding -fPIE -mno-sse \
	-nostdlib -Wl,-pie -Wl,-no-dynamic-linker -T $REPO/src/user/linker.ld \
	-I$REPO/src/ -I$REPO/src/shared/include/ -I$REPO/src/user/lib/include/ \
	$* \
	-L$REPO/out/ -lc -lgcc