[Scummvm-devel] Question to porters..

Marcus Comstedt marcus at mc.pp.se
Sun Aug 18 13:05:03 CEST 2002


"J.Brown (Ender/Amigo)" <ender at enderboi.com> writes:

> Do any of our current (or future) platforms NOT support some form of
> dynamic linkage?

On the Dreamcast there is no OS, so to have dynamic linking I'd have
to implement it myself.  Of course, I could do something simple which
loads to a fixed address if the number of shared symbols is small...

The question is, what would be the point?  For the user of the
software, there would be no difference.  Since the "shared object"
format would be something ad hoc, there would be no reasonable way for
the user to provide his/her own implementation of the libs, which
usually is the rationale for allowing dynamic linking over static linking.

Anyway, LGPL doesn't forbid static linking against non-GPL code.  Read
section 6.  Distributing binaries statically linked against a LGPL
library is allowed as long as the sources needed to compile it
yourself are also made available.  Using shared libraries is _only_
required if you don't provide sourcecode.  You only have to do _one_
of the 5 things listed in section 6.  (Distribute source code is a),
use shared libraires is b), there are even more options provided.)


  // Marcus






More information about the Scummvm-devel mailing list