[SDL] features -> build problems
Enrico Weigelt
weigelt at metux.de
Tue Aug 30 09:09:38 PDT 2005
Hi folks,
while building dosbox against sdl-1.2.9 I've noticed some
conceptional problems with switchable features, which directly
affect the API: things which normally belong into several
libraries, ie. cdrom handling, are a part of libSDL.so and
completely missing, if these features are disabled. It seems
there's no clean way for applications to test for these
features, and so linking may break with missing symbols.
For distro/integrator folks like me, this makes work quite
complicated. Feature dependencies are in general bad design,
and if supplied features cannot be detected, it makes the
problem even worse.
To get out of this debacle, the cleanest way would be splitting
off libSDL.so into several libs - one for each feature / API part.
At least this should happen virtually - by supplying several
.pc files / -config scripts, each representing an separate library,
but all pointing to the same .so.
cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT service
phone: +49 36207 519931 www: http://www.metux.de/
fax: +49 36207 519932 email: contact at metux.de
cellphone: +49 174 7066481
---------------------------------------------------------------------
-- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
---------------------------------------------------------------------
More information about the SDL
mailing list