This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]