This is the mail archive of the
cygwin
mailing list for the Cygwin project.
g++ 4.3.2, using dynamic linked library is very good
- From: wei niu <wei dot niu at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 20 Aug 2009 16:09:12 +0800
- Subject: g++ 4.3.2, using dynamic linked library is very good
I found the c++ programs compiled with g++ 4.3.2 used dynamic linked
libraries,like cyggcc_s-1.dll and cygstdc++-6.dll,whereas g++ 3.4.4
not.
So the generated exe file become much smaller.It's very good.
Only a "hello,world" program of c++ will be compiled to an exe file
larger than 200k, even compiling with -s option.If the program use c++
standard library,if compiling with g++ 3.4.4 cygming special.
But now compiling with g++ 4.3.2,the generated exe file is only 20k,if
using -s compiling option,it's nearly 5k.
Thanks and hope cygwin much better.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple