Compiling Options

Is there any method to compile (in any platform) SDL as Static Library?

Is there any method to avoid compile many SDL “things” like Audio, CD-Rom etc? (to decrease size of library)
Usually if we define some definitions like
e.g. #define SDL_NO_CD-ROM_COMPILE_OPTION
this thing is not compiled

I download before 1 hour cvs version of SDL but I haven’t saw anything inside code…

Is there any method to compile (in any platform) SDL as Static Library?

Yes, although that violates the terms of the LGPL if you do not either
provide a dynamically linked binary or the object code of your application
so the end user can relink your application with a new version of the SDL
library.

Is there any method to avoid compile many SDL “things” like Audio, CD-Rom etc? (to decrease size of library)
Usually if we define some definitions like
e.g. #define SDL_NO_CD-ROM_COMPILE_OPTION
this thing is not compiled

Yes, if you are building under UNIX, you can check out the configure script
options. If you are building under an IDE, you’ll have to remove some files
from the project and hand add the preprocessor options that disable that
subsystem.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment