G'day all,

All day today I've been trying to figure out how to lower the size of the executables that MinGW compile. I search some forums and stuff and learnt about compiler commands.

So i compiled a hello world program at without any commands and i get an .exe of 463 KB =o.
I then used a -s --strip-all command and the .exe when to 260 KB.

I don't know much about compilers and i was wondering if someone could tell me what commands i should use. My mate said i should be able to get the size of the .exe to around 50 KB???

I'm using Dev-Cpp Beta5 with MinGW.

Cheers in advance.