[Simh] Installing SDL2 on Mac To Build SIMH

Rob Jarratt robert.jarratt at ntlworld.com
Sat Feb 17 05:32:32 EST 2018



> -----Original Message-----
> From: Paul Koning [mailto:paulkoning at comcast.net]
> Sent: 16 February 2018 22:06
> To: rob at jarratt.me.uk
> Cc: Mark Pizzolato <Mark at infocomm.com>; simh at trailing-edge.com
> Subject: Re: [Simh] Installing SDL2 on Mac To Build SIMH
> 
> 
> 
> > 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

Are you saying that when using a "framework" the standard SIMH makefile
won't find it but that getting the sources and making them would allow the
SIMH makefile to work?

Regards

Rob



More information about the Simh mailing list