> In this case, libSDLmain.a is always available in pre-compiled form (it's > automatically compiled along with the rest of the sources). That's also why > the FPC SDL unit always links against against that library (so that it works > without having to add anything extra in the main program.).
Thanks for the info. Never tried to compile SDL sources or get it via Fink or MacPort. the only purpose, that passdlmain can be usefull, is extending (customizing) application menu, using pascal, rather than obj-c. Also, speaking about sdl header. Correct if i'm wrong, but SDL tries to link XLib and/or X11 library under Darwin, even if these libs are not to be used? Thanks, Dmitry P.S. I'm going to copy-paste your email to the wiki (about details on how-to get SDL lib, instead of framework), if you don't mind. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal