https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123242
--- Comment #3 from Brecht Sanders <brechtsanders at users dot sourceforge.net> --- Thanks, that's really useful. I will try with the -fno-ident flag. Are there any other flags (besides the -fno-ident compiler flag and the -s linker flag) that can remove unnecessary bloat from the final binaries (.dll and .exe files)?
