so here is the command line unedited:

Code:
/usr/local/bin/fpc -Or -XMSDL_main -k-L/sw/lib -k-lSDL -k-lSDL_image -k-lSDL_Mixer -k-framework -kOpenGL -k-framework -kCocoa -Fu/users/~/Documents/XCodeProjects/CBC/Jedi-SDLv1.0/SDL/pas -Fu/users/~/Documents/XCodeProjects/CBC/Jedi-SDLv1.0/SDL_Image/pas -Fu/users/~/Documents/XCodeProjects/CBC/Jedi-SDLv1.0/SDL_Mixer/pas -Fu/users/~/Documents/XCodeProjects/CBC/CBCFoundation -Fu/users/~/Documents/XCodeProjects/CBC/Jedi-SDLv1.0/sfont/pas -Fi/users/~/Documents/XCodeProjects/Jedi-SDLv1.0/SDL/pas -Fi/sw/include/SDL SDLGuns.pas -Fl/sw/lib -Fl/usr/X11R6/lib
notice the use of -k-L/sw/lib, this is where libSDL.dylib is located!