This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


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

Re: Huge binaries?



> When using gcc 2.95.2 and libstdc++, why is it that sometimes binaries
> can get so HUGE? People must've seen this before. A small program can
> compile to 600K in size, and even after stripping, it's still well
> over 100K.

HUGE, huh?

Take a look at the binary, see what's in it. If you are on an elf
platform, you may want to investigate using -ffunction-sections
-fvtable-gc, which should help. I don't think the bugs with -fPIC have
been worked out, so the v-3 Makefiles don't turn it on by default.

-benjamin



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