std::cout << "Hello, world!" << std::endl;
g++ -o hello hello.cpp
hello.exe = 448537bytes !!!
i just install and compile, no modifications.
Logged In: YES
This is not a bug, it's a feature.
g++ -s -D__GTHREAD_HIDE_WIN32API -o hello hello.cpp
Will reduce the size a bit, -s strips debugging symbols while -D__GTHREAD_HIDE_WIN32API is a hack in stdc++
for Win32 thread handling. This will be set by default in later releases.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.