In this case it's because the compiler would like to link to the standard library (which doesn't exist in this case, this is a kernel). Additionally i need a specific binary file layout, that's what the linker script is for.
programmerlexi
joined 10 months ago
May i present, the source folder for my operating system.

As specified in my reply to your comment, this is a kernel, so running things like nix-ld isn't an option. I don't use dynamic libraries here for the same reason.