▲ | steveklabnik 15 hours ago | |||||||||||||||||||||||||
You can only skip libc on Linux. Other unices and Windows don’t let you. | ||||||||||||||||||||||||||
▲ | immibis 13 hours ago | parent [-] | |||||||||||||||||||||||||
You can skip libc on Windows - you can't skip the system DLLs like kernel32. (In fact, Microsoft provided several mutually incompatible libcs in the past.) Well, you can non-portably skip kernel32, and use ntdll, but then your program won't work in the next Windows version (same as on any platform really - you can include the topmost API layers in your code, but they won't match the layers underneath of the next version). But system DLLs are DLLs, so also don't cause your .exe to get bloated. | ||||||||||||||||||||||||||
|