[Sdl] Linking to SDL

tome toyou spamboxfull at googlemail.com
Wed Dec 3 09:25:29 PST 2008


"This doesn't mean that you need to distribute what are typically known
as "object files." It only means that you need to distribute a
dynamically linked binary."

I am sorry If I do not understand you correctly but the question is how do I
"dynamically link" sdl
"Is it true that by just linking to the library is enough as it dynamically
links in the dll/so object or is it required that I include the headers in
my application and manually load in the dynamic library and the addresses of
the functions?"


On Wed, Dec 3, 2008 at 4:50 PM, Donny Viszneki <donny.viszneki at gmail.com>wrote:

> Users must be able to link your application to any conforming SDL dylib.
>
> This doesn't mean that you need to distribute what are typically known
> as "object files." It only means that you need to distribute a
> dynamically linked binary.
>
> A point of contention I notice many people struggle with, in case you
> were wondering: it is perfectly alright to distribute a statically
> linked copy of your program as long as you *always* make a dynamically
> linked copy available with it. The easiest way IMHO to do this is to
> include both in your downloads (that is of course second to the ease
> with which you can simply release the source code of your project,
> which has many benefits aside from merely complying with the LGPL.)
>
> It should also be noted that if you modify your SDL in any way, those
> changes cannot be withheld from anyone who gets their hands on a copy
> of your modified SDL binaries. SDL is OPEN SOURCE even if your
> applications are not.
>
> On Wed, Dec 3, 2008 at 8:24 AM, tome toyou <spamboxfull at googlemail.com>
> wrote:
> > Hello I have some confusion on conforming to the LGPL licence of SDL and
> > what is required.
> > If I wanted to release a non open source application and did not want to
> > share the object files so that a user could recompile using a later
> version
> > of SDL what is required on my behalf? Is it true that by just linking to
> the
> > library is enough as it dynamically links in the dll/so object or is it
> > required that I include the headers in my application and manually load
> in
> > the dynamic library and the addresses of the functions?
> > Thanks.
> >
> > _______________________________________________
> > Sdl mailing list
> > Sdl at lists.libsdl.org
> > http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
> >
> >
>
>
>
> --
> http://codebad.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20081203/dbc773ed/attachment.htm>


More information about the SDL mailing list