Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
I have no idea why this happens. It looks like the rest of the building process goes fine. I also tried building on Cygwin (my main environment is WSL) but the same thing happened (so it's probably not because I'm using Windows).
What am I doing wrong?
My build script:
I am not sure if binutils will be happy with "x86_64-hardos". Try "x86_64-hardos-elf" just for kick. It looks like "x86_64-hardos" is matching multiple targets and binutils doesn't know what to do.
I use "x86_64-rainbow-elf" and have no problems (binutils 2.35).