Try here:
section
4.4.3 using the compiler, Linker Options
gplc
--fast-math --min-bips -o boyer boyer.pl -L /path/to/lib
It's
been a while but I think I linked SDL2 like that,
actually, here's a link to the code:
Here's how I built my
executable...
gplc \
-C -I/Library/Frameworks/SDL2.framework/Headers \
-C -I/Library/Frameworks/SDL2_ttf.framework/Headers \
-C -I/Library/Frameworks/SDL2_mixer.framework/Headers \
-C -I/Library/Frameworks/SDL2_image.framework/Headers \
-L -framework SDL2 -L -framework SDL2_ttf -L -framework \
SDL2_image -L -framework SDL2_mixer -o sdltest \
sdl-ffi.pl sdl.pl sdl_lib.c sdl_thread.c sdl_ttf.c sdl_mixer.c
Hope that helps, GNU Prolog is a sweet
little thing!
:D
Sean