Ray Kelm has put together a very nice set of scripts for building SDL
as a Win32 DLL from Linux. This new DLL uses the MSVC runtime, rather
than the older C runtime.
The cross-compiler and scripts, including DirectX and OpenGL support,
are available from:
The updated CVS snapshot of SDL 1.1.5 source is available at:
To build with the new cross-compiler, remove any old cross-compiler,
download the cross-compiler on the web site, download the build scripts,
sh cross-make.sh install
For the adventurous, you can try the CVS 1.1.5 SDL.dll built this way:
This is not supported code, as it is based on a CVS snapshot, but I’m
very interested in hearing how it works. If this works for everyone,
I’ll switch the Visual C++ project over to using the MSVC runtime also.
-Sam Lantinga, Lead Programmer, Loki Entertainment Software