The latest version of SDL in CVS can be built under Visual C++ 2005 without
any C runtime dependencies at all! This allows redistribution of the SDL.dll
without worrying about which version of C runtime is used by the appliation.
The application must be rebuilt with the new headers if it uses threads,
since the function signature changed to handle passing in initialize/destroy
routines from the C runtime (thanks to the OS/2 port for that trick!)
I haven’t implemented the ftol or 64-bit math intrinsics.
If you want to build this yourself to play with it, grab the latest CVS tarball: http://www.libsdl.org/cvs/SDL-1.2.zip
Edit SDL_config.h and change #define HAVE_LIBC to #undef HAVE_LIBC
Edit the SDL project settings and set the “no default libs” option
Please send patches if I’ve broken anything or missed something.
Thanks!
-Sam Lantinga, Senior Software Engineer, Blizzard Entertainment
The latest version of SDL in CVS can be built under Visual C++ 2005
without any C runtime dependencies at all! This allows redistribution of
the SDL.dll without worrying about which version of C runtime is used by
the appliation.
How is that possible ? My thought always was that
the C runtime is necessary for the C Compiler to
get in contact with the OS, so that it can alloc
memory and such things.
How is that possible ? My thought always was that
the C runtime is necessary for the C Compiler to
get in contact with the OS, so that it can alloc
memory and such things.
Magic.
-Sam Lantinga, Senior Software Engineer, Blizzard Entertainment
How is that possible ? My thought always was that
the C runtime is necessary for the C Compiler to
get in contact with the OS, so that it can alloc
memory and such things.
Magic.
looks like they have a mini libC reimplamentation under
src/stdlib