4 ms·
ISO C is mostly concerned about making sure that stuff is portable; operating systems on the other hand are intrinsically platform-specific to a degree. So it i
by zokier 5y ago
ISO C is mostly concerned about making sure that stuff is portable; operating systems on the other hand are intrinsically platform-specific to a degree. So it is not really surprising that pure ISO C is not enough for OS development
- yjftsjthsd-h 5y agoYou can still be portable between compilers; Linux builds with GCC and Clang, and used to build with tcc (although that probably required patches)
- zokier 5y agoLinux builds on clang after a decade of dedicated effort to make it happen, and that is with clang overall being comparatively similar to gcc (e.g clang implements many gcc extensions): https://github.com/ClangBuiltLinux/linux/wiki/Project-history https://github.com/ClangBuiltLinux/linux/wiki/Project-histor...