From e7676411e49bfd2e0da0b785ad4ac5dc909d0a41 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Fri, 26 Aug 2022 17:11:23 +0200 Subject: user/ports: port oed make clean; ./port ed clean; make -j4 out/libc.a && ./port ed install && make -j4 --- ports/bin/cc | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 ports/bin/cc (limited to 'ports/bin/cc') diff --git a/ports/bin/cc b/ports/bin/cc new file mode 100755 index 0000000..6478b6e --- /dev/null +++ b/ports/bin/cc @@ -0,0 +1,6 @@ +#!/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 -- cgit v1.2.3