lists.zerezo.com
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
***BOGO*** Re: [Mingw-users] Well-optimizing compiler and a weirdness in themailing list
- Date: Wed, 02 Jul 2008 12:58:00 -0700
- From: Brian Dessent <brian@xxxxxxxxxxx>
- Subject: ***BOGO*** Re: [Mingw-users] Well-optimizing compiler and a weirdness in themailing list
Cornelius Riemenschneider wrote:
> 2nd: The reason i'm writing this: I thought of gcc as an optimizing compiler. But, the source at the end of the mail compiles to a winapp >800KB. Doing the same with MSVC++ 6 results in a 60KB app. COmpiling options for g++: -O0 -Os -pedantic -w -Wall -c -fmessage-length=0
> the -O0 is caused by eclipse...
This is not a fair comparison at all for C++. g++ is statically linking
its C++ runtime (libstdc++) whereas MSVC++ uses a shared library
MSVCP{50,60,70,71}.DLL for its C++ runtime. You will only get a fair
comparison if you use shared libstdc++ (-lstdc++_s).
Brian
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users