Why not make a "lite" version of Allegro? I don't need any of the sound, maths, or GUI routines...
Description
Why not make a "lite" version of Allegro? I don't need any of the sound, maths, or GUI routines...
There is no need. The linker will only include the parts of the
library that you actually use, so if you don't call any of, say, the
texture mapping or FLIC playing functions, they will be left out of
your executable. This doesn't work perfectly because a lot of the
Allegro code uses tables of function pointers that cause some
unnecessary routines to be linked in, so the majority of the graphics
functions will be included in every executable, but I have tried to
keep this to a minimum. See allegro.txt for information about more
precise ways to remove some of the graphics and sound drivers.