[SDL] Embed SDL.dll in the .exe

Andre Krause post at andre-krause.net
Fri Sep 28 02:50:07 PDT 2007


> 
> Unless tou really want to pack everything (code and assets) in a single exe
> file of course.
> 

exactly this is the reason why i too go the hard way to have all but the 
real core libs linked statically.

believe it or not: there are still users who cannot extract a zip file. 
and who are pissed by installers who clutter your system (i for example 
especially hate it if some small game comes with an installer instead of 
a zip and puts all kind of registry and start menu stuff i really do not 
want to have on my system.).

so if you want your game to be a hassle free one time download, put all 
stuff in the .exe. those 500k .. 2mbyte more exe size is really no big 
deal these days where we have broadband and  dvd.

so i strongly vote for static linking!
even some game industry veterans propose this concept to have only the 
very core libraries supported by the operating system and everything 
else be linked statically or even dynamically but distributed with the 
game dvd. anyone here can remember the link? i think it was an article 
on gamasutra, but not sure...


More information about the SDL mailing list