[fpc-pascal] Mac OS X SDL without gcc or XCode

dmitry boyarintsev skalogryz.lists at gmail.com
Tue Mar 17 19:13:42 CET 2009

> 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?


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.

More information about the fpc-pascal mailing list