1
General / Huge MinGW Libraries!!
« on: April 01, 2008, 07:17:23 am »
I found two ways to compile the sfml-system.dll smaller.
First way is to use <cstdio> instead of <iostream>
Second way is 'Strip all symbols from binary'. (Are there any disadvantages, if you use this?)
Original: 499.78 KB
New sizes:
With cstdio: 33.83 KB
With cstdio and strip symbols: 14.00 KB
Compiled with MS VC: 12.50 KB
edit: But MSVC SFML-Window.dll is still 40 KB smaller than MinGW SFML-window.dll
edit2: And SFML-Network.dll is 270 KB (!!) smaller
First way is to use <cstdio> instead of <iostream>
Second way is 'Strip all symbols from binary'. (Are there any disadvantages, if you use this?)
Original: 499.78 KB
New sizes:
With cstdio: 33.83 KB
With cstdio and strip symbols: 14.00 KB
Compiled with MS VC: 12.50 KB
edit: But MSVC SFML-Window.dll is still 40 KB smaller than MinGW SFML-window.dll
edit2: And SFML-Network.dll is 270 KB (!!) smaller