3 ms·
> from a pure freestanding environment as shown in this article Isn't a freestanding enviroment one without an OS? The author in the article explicitly codes a
by perching_aix 2y ago
> from a pure freestanding environment as shown in this article
Isn't a freestanding enviroment one without an OS? The author in the article explicitly codes against Linux syscalls and is creating an ELF file (so a hosted executable).
- saurik 2y agoI think of "freestanding" as being related to the "-ffreestanding" flag of modern compilers, which merely means something similar to "don't assume that functions have their usual C standard definitions, as I don't have a normal libc".
- perching_aix 2y agoI looked up the GCC docs, and it says both that and what I said. Bit confusing, but makes sense in hindsight.