https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90701
jynelson at email dot sc.edu changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|INVALID |FIXED --- Comment #3 from jynelson at email dot sc.edu --- I found the documentation and -ffreestanding works. May I ask why it's a separate flag from -nostdlib? I can't think of a scenario where you'd need one without the other.