|
From: SourceForge.net <no...@so...> - 2005-01-28 02:23:37
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=2964070 By: adah Are you sure you used printf instead of iostreams? I cannot repeat your result without replacing printf with iostream stuff (cout, etc.). And you can reduce the size by about half with the command-line option "-s" or by an additional strip command. As you can see in the MinGW wiki URL Earnie provided, iostreams and related stuff are complicated and have a constant overhead that seems large for small programs but insignificant for most real applications. If you used iostreams and found the result size is small on UNIXs, it was probably because the C++ library is dynamically linked (which is not the case in MinGW because of legal difficulties). If you used "g++ -static", your might be surprised at the result. ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=286529 |