[SDL] Dynamically Linking SDL_main with borland C++

John R. Hall overcode at lokigames.com
Thu Aug 23 21:35:01 PDT 2001


on 8/23/01 11:55 PM, Corey Struble at gamegod3001 at hotmail.com wrote:

> As I understand the Lesser General Public License agreement I must do one of
> these two things
> 
> 1. GPL my program
> or
> 2. or dynamically link to sdl.  and include the sdl source code.
> 
> Now here is my problem according to the FAQ in order to use sdl with borland
> C++ I need to include sdl_main.c in my project but I would be breaking the
> license agreement if I did not gpl my program. I've been told that it is
> possible to create a sdl_main.dll and therefore I can comply with the
> license. Now how do I create a dll out of sdl_main.c and any other
> information I need to compile and link my program.

If I'm not mistaken, sdl_main is public domain for that reason.
But check. I could be totally wrong.

-John





More information about the SDL mailing list