Lately I've been working with the Windows API, trying to write gui-based Windows programs that are as small as possible. Speed isn't really much of an issue for me, what I'm going for is the size of the executable.
Just wondering which C compiler will produce the smallest binaries, especially without any tricks or messing with it too much.
I don't have much experience with this on Windows, but Tiny C Compiler does produce some very small executables.
I tested it on a basic "Hello world" program, and the size of the exe was 1.5KB, about 1/12 the size of the MinGW executable. I didn't test it with Visual C++ (because I don't have it), but you get the idea. It makes small executables.