Edit: Alright, I figured out how to make my files smaller in MinGW. If your MinGW compiled files are 90kb bigger than they should be, (like a hello, world project in C takes up 96kb instead of 4) and you don't know why, just take a look at my next post.
Oh, if you use iostream to do your console i/o, expect your file to be 200kB anyway (it'd be 400-some otherwise, but past using -s you won't see too awfully much of a difference. Moral, for those that have only learned C++ in school: if you're only outputting to the screen, and you aren't using any fancy cout manipulation or overloading, just use
printf())
Original message:
I can't seem to be able to make my linked files very small using MinGW? My objects are 2kB, but the outputted executible is 96kB, 52kB stripped, and 24kB UPXed. I'm using a tutorial, and the executible that came with it is only 4kB (3072 bytes UPXed). This is just for a simple window that can be resized and closed. What am I missing? Thanks for lookin'.]