3 ms·
Ok, I've just tried that but I also needed to add `/force` otherwise it complained about missing symbols. So the full compile line is: cl small2.c /link /f
by ChrisSD 6y ago
Ok, I've just tried that but I also needed to add `/force` otherwise it complained about missing symbols. So the full compile line is:
cl small2.c /link /force /nodefaultlib /entry:_start /subsystem:CONSOLE kernel32.lib
This gets it down to 3kb.