Dynamically Linking SDL_main with borland C++

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._________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

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

John R. Hall wrote:

Corey Struble wrote:

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.

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

From the source …

"SDL_main.c, placed in the public domain by Sam Lantinga  4/13/98"
  • Randi

Regimental Command
Generic Armored Combat System
http://regcom.sourceforge.net