Linking with both SDL 0.8 and SDL 0.9

A couple people have asked about dynamically linking with SDL 0.8 and
SDL 0.9 on the same system.

The best way to do this is to compile your program using the GNU style
Makefile included with the demos archive. This Makefile automatically
points the application at the right dynamic link library.

I’ve played around with keeping both 0.8 and 0.9 dynamic link libraries
in /usr/lib, and I know how to do it correctly. SDL 0.8.4 and 0.9.3
(to be released later tonight) may be able to reside in /usr/local/lib
together. You would still need to keep separate directories for the
include files and the static stub library.

If anyone has any comments on this, please let me know, because I am
very happy to leave the loading the way it is. The advantage of the
current loading scheme is that older binaries can still run with newer
versions of the library (theoretically), even though a warning message
is printed.

See ya!
-Sam Lantinga (slouken at–
Author of Simple DirectMedia Layer -