I just tried this on x86_64 Linux, which is probably not much different from MinGW at this level, although you never know.
, , C, , CRT "startfiles" , , , "Hello world", . , , .
, , , . , , .
:
#include <unistd.h>
void _start (void) {
write(1,"Hello world!", 12);
_exit(0);
}
: gcc -nostartfiles t.c -s -static
(, . ) 1792 .
, 738624 , , 4400 , -static, ! ( -static, write _exit).
, . , . , x86_64 Linux ( , ?) , -m32, write.
, ( ). , .