[SDL] Re: Linking to SDLmain

Paul Smith googoodolls_uk at yahoo.com
Wed Sep 11 04:27:01 PDT 2002

Thanks for your help guys.  My mis-conception about
starting my program with SDL_main() came from the
first tutorial I ever read, and whilst I figured that
sdl-config --libs would only give me the options I
need, I couldn't figure out why I wouldn't need to
-lSDLmain!  Now I know that #define main SDL_main is
sat there in the source, I feel a lot happier!

Thanks once again for the quick replies... this list
is great!

Paul Smith

Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost

More information about the SDL mailing list