This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Why do g++ compile a so big exe?
- From: LazyChild <sd dot qd dot lry at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Sun, 26 Jul 2009 07:40:42 -0700 (PDT)
- Subject: Why do g++ compile a so big exe?
Hi,everyone.
I am new here.
I have a problem. Today, I compile a gcc4.1.2 with mingw in WINXP.
I do not know the configure clearly, but I do a success. When I use g++
compile a "Helloworld",I surprisingly find that the exe is so big(3.55M).
I compile it like that :"g++ HelloWorld.cpp -o HelloWorld" and without "-g"
but gdb can really load it, and when I use gdb load it ,I find it has 748
lines.So many.
How can I compile a g++ like mingw , only product xxxkb...
I hope you can help me! Thanks.
--
View this message in context: http://www.nabble.com/Why-do-g%2B%2B-compile-a-so-big-exe--tp24667450p24667450.html
Sent from the gcc - Help mailing list archive at Nabble.com.