last week gcc binaries (12.1.0, 11.3.0) produce a bit fatter executables compare to 11.1.0
#include <stdio.h>
int main() {
printf("Hello");
return(0);
}
gcc -m32 -s hello.c
in case of gcc 11.1.0 : executable size is 11264 bytes
Fresh one produced 35328 bytes
mingw64-64 was updated from v7.0.0 to v10.0.0. That means that
__USE_MINGW_ANSI_STDIO
is defined1
by default now due to this commit:https://github.com/mingw-w64/mingw-w64/commit/bfd33f6c0ec5e652cc9911857dd1492ece8d8383
You can revert the non-standard compliant behavior by passing
-D__USE_MINGW_ANSI_STDIO=0
on command-line.