[Scummvm-devel] Daily/nightly Win32 builds
Max Horn
max at quendi.de
Thu Jun 16 14:41:37 CEST 2011
Hi again,
just to play some more with this, I did a manual mingw32 build on buildbot, with all engines (except sword25) enabled, and got a 182 MB binary. Then I let the "size" command run on it:
~/scummvm/builds/mingw32-allengines$ i586-mingw32msvc-size -A scummvm.exe
scummvm.exe :
section size addr
.text 14882256 4198400
.data 135412 19083264
.rdata 2529472 19222528
.bss 1170704 21753856
.idata 6836 22925312
.rsrc 3763680 22933504
.debug_aranges 405096 26697728
.debug_pubnames 3613774 27103232
.debug_info 143163527 30720000
.debug_abbrev 2840076 173887488
.debug_line 2907566 176730112
.debug_frame 2700452 179638272
.debug_str 2470720 182341632
.debug_loc 3530976 184815616
.debug_ranges 528 188350464
Total 184121075
Woa, that's 140 MB of debug_info. After stripping, the binary shrunk to 21 MB. Still hefty but quite in line with what Michael reported. I wonder if this is due to the older compiler version used? What other causes could there be? Anybody know how to analyze this further.
Oh, and I noticed that the mingw *64bit* builds result in 25 MB archives, as opposed to the 44 MB archives we get for mingw 32bit. The 64bit toolchain uses GCC 4.4... so maybe we *really* should upgrade the mingw32 toolchain on buildbot. Anybody know about that stuff and would be willing to work on this? Ping me!
Bye,
Max
More information about the Scummvm-devel
mailing list