Sdl.dll filesize with cygwin

Hey there.

I built sdl under cygwin, and the resulting dll is a whopping 1.58 megs
(compared to the end user distribution of 1.2.1 thats 210k). Don’t suppose
there’s any magic that can be done to deflate the file a tad? STRIP or UPX
perhaps??–
Mike Kasprzak

Ok, it seems I answered my own question. STRIP cut it down to 223k, and UPX
doesn’t do anything for DLL’s.

Ok, it seems I answered my own question. STRIP cut it down to 223k, and
UPX
doesn’t do anything for DLL’s.

Yes, it does.

" Ultimate Packer for eXecutables
Copyright © 1996, 1997, 1998, 1999, 2000
UPX v1.01 Markus F.X.J. Oberhumer & Laszlo Molnar Apr 9th
2000

    File size        Ratio      Format      Name

220672 ->    90624   41.07%    win32/pe     SDL.DLL
 73728 ->    33792   45.83%    win32/pe     SDL_mixer.dll

294400 ->   124416   42.26%                 [ 2 files ]

Packed 2 files."

Forty percent of the original size doesn’t sound too bad :slight_smile: