Guess what? Stripped, the DLL is like 152Kbytes.
Unstripped, it’s 1.6 FREAKING MEGABYTES!
my MSVC produced SDL_mixer.dll is 156KB. This uses the
smpeg.dll for MP3 support. (smpeg.dll is 180KB)
anyways, the 1.6MB seems a little hefty, your stripped
version is about the “right” size.
I did a fresh cross-compile “make” of SDL_mixer, and noticed the culprit:
strip .libs/SDL_mixer.dll
Blah! I guess I’ll need to hack the makefile or something.
I did this. (ltconfig needed tweaking)
Arg! I removed this at one point. I don’t know why it’s still in ltconfig.
Guess what? Stripped, the DLL is like 152Kbytes.
Unstripped, it’s 1.6 FREAKING MEGABYTES!
Sam!! Help! What can we do!?
Don’t strip, and don’t build with -g.
The next release of the SDL_mixer library will have the strip removed.
The real fix would be to go into the bfd library and find out what
magic is being changed, and either prevent it or write a small utility
to fix it.
See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software
my MSVC produced SDL_mixer.dll is 156KB. This uses the
smpeg.dll for MP3 support. (smpeg.dll is 180KB)
anyways, the 1.6MB seems a little hefty, your stripped
version is about the “right” size.
hopefully this gives you something to shoot for.
Hrm… I tried, and can’t cross-compile smpeg. It complains that
mmap isn’t available! I guess maybe it’s a linux version of smpeg library
that’s causing my cross-compiled SDL_mixer to barf on Win32 boxes?
my MSVC produced SDL_mixer.dll is 156KB. This uses the
smpeg.dll for MP3 support. (smpeg.dll is 180KB)
anyways, the 1.6MB seems a little hefty, your stripped
version is about the “right” size.
hopefully this gives you something to shoot for.
Hrm… I tried, and can’t cross-compile smpeg. It complains that
mmap isn’t available! I guess maybe it’s a linux version of smpeg library
that’s causing my cross-compiled SDL_mixer to barf on Win32 boxes?