This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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]

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.


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