I've compiled several cross versions of mingw32 running on Linux. With
all of them, I get a huge binary of 300kB+ when compiling a small
program (a hello world with a messagebox). But when I use the native on
(mingw32 version 3.1.0 in my case) with the same build options, it is
only 17kB. (see below)
So it looks like the cross version links in some libs while the native
Somebody any idea to resolve this?
Thanks for your time!
int WINAPI WinMain (HINSTANCE hInstance,
MessageBox (NULL, "Hello", "Hello Demo", MB_OK);
gcc -mwindows -o hello.exe hello.c
mingw32-gcc -mwindows -o hello.exe hello.c