> Or are you saying that the external keyword does not work does not work on MacOS?

Unfortunately, that seems to be the case. If I remove the {$linklib} directive and use external 'libname', I get undefined symbol errors on link... like it can't find the library .

I'm also having problem using exported variables from a linked library.

I'm hoping it something I did wrong creating my libtest.dylib. I'll try linking to and using a REAL library, like SDL, when I have time. I do already have the SDL and SDL_Mixer frameworks installed on my Mac, thanks. I'm opening up my iBook and replacing the harddrive this weekend, but if I manage to do that without permanently damaging my computer, then I'll try to get the JEDI-SDL demos compiled in earnest.

(by the way, if I can't get the current version of FreePascal to do what I want... do you know if the JEDI-SDL interfaces compile with GNU Pascal?)

Thanks,
- Chris