[Simh] Installing SDL2 on Mac To Build SIMH

Paul Koning paulkoning at comcast.net
Fri Feb 16 17:05:30 EST 2018



> On Feb 16, 2018, at 4:58 PM, Rob Jarratt <robert.jarratt at ntlworld.com> wrote:
> ...
> I don't think I saw a .dylib either.

Ok, the thing you downloaded from the SDL website is a .dmg file, which is a Mac OS disk image.  When opened it reveals a "framework" -- a directory meant to be moved into /Library/Frameworks where the Mac version of the compiler knows how to find it -- the -F switch points to the framework if I remember right, and headers and libraries are then found there.

There is an "SDL" file which is a shared library.  It appears that shared libraries within frameworks don't have an extension, nor a "lib" prefix, but "file" reveals it as a shared library file.

You could tweak the makefile to use the framework, or build libSDL Unix style, at which point you may still need some (smaller) Makefile tweaks.

	paul



More information about the Simh mailing list