[SDL] Three questions

brian moore bem at cmc.net
Mon Aug 2 13:15:04 PDT 1999

On Sun, Aug 01, 1999 at 08:21:48AM -0400, Michael K Vance wrote:
> On Sat, 31 Jul 1999, you wrote:
> > 1) Why isn't it possible to build SDL as a static library?  There's
> > nothing wrong with dynamic libs, but as it stands, creating stand-alone
> > applications with SDL is a bit painful.
> But it is possible (dare I say more than that). A cursory look at the Makefile
> will show you all the infrastructure that exists for it. You cut yourself off
> from the swell run-time library loading, though.

You also have to -D_SDL_STATIC_LIB in things you build, which seems to
be the 'gotcha' that was getting me. :)

Brian Moore                       | Of course vi is God's editor.
      Sysadmin, C/Perl Hacker     | If He used Emacs, He'd still be waiting
      Usenet Vandal               |  for it to load on the seventh day.
      Netscum, Bane of Elves.

More information about the SDL mailing list