From 292b2386d766826b15f5ca084d37aa2c485fdda6 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Thu, 17 Aug 2023 00:36:04 +0200 Subject: build: rework how sysroots work /usr/include is now built on the fly, letting me merge include files from multiple modules, which should be a win for organization later on. binutils & gcc need to be recompiled. limits.h shamelessly stolen from heat on #osdev, as gcc stopped providing me with its own header. which was a hack in the first place --- sysroot/usr/include | 1 - sysroot/usr/lib/crt0.o | 1 - sysroot/usr/lib/libc.a | 1 - sysroot/usr/lib/libm.a | 1 - sysroot/usr/local/include | 1 - 5 files changed, 5 deletions(-) delete mode 120000 sysroot/usr/include delete mode 120000 sysroot/usr/lib/crt0.o delete mode 120000 sysroot/usr/lib/libc.a delete mode 120000 sysroot/usr/lib/libm.a delete mode 120000 sysroot/usr/local/include (limited to 'sysroot') diff --git a/sysroot/usr/include b/sysroot/usr/include deleted file mode 120000 index 3f3830c..0000000 --- a/sysroot/usr/include +++ /dev/null @@ -1 +0,0 @@ -../../src/libc/include \ No newline at end of file diff --git a/sysroot/usr/lib/crt0.o b/sysroot/usr/lib/crt0.o deleted file mode 120000 index 648a150..0000000 --- a/sysroot/usr/lib/crt0.o +++ /dev/null @@ -1 +0,0 @@ -../../../out/obj/libc/_start.s.o \ No newline at end of file diff --git a/sysroot/usr/lib/libc.a b/sysroot/usr/lib/libc.a deleted file mode 120000 index 135b015..0000000 --- a/sysroot/usr/lib/libc.a +++ /dev/null @@ -1 +0,0 @@ -../../../out/libc.a \ No newline at end of file diff --git a/sysroot/usr/lib/libm.a b/sysroot/usr/lib/libm.a deleted file mode 120000 index 1c566f4..0000000 --- a/sysroot/usr/lib/libm.a +++ /dev/null @@ -1 +0,0 @@ -../../../out/libm.a \ No newline at end of file diff --git a/sysroot/usr/local/include b/sysroot/usr/local/include deleted file mode 120000 index f4fd256..0000000 --- a/sysroot/usr/local/include +++ /dev/null @@ -1 +0,0 @@ -../../../src/libk/include \ No newline at end of file -- cgit v1.2.3