I found the link for getting sdl and fpc working under macos

http://www.freepascal.org/wiki/index.php/FPC_and_SDL