Why do g++ compile a so big exe?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux