[Simh] Installing SDL2 on Mac To Build SIMH

Mark Pizzolato Mark at infocomm.com
Sat Feb 17 05:56:42 EST 2018


On Saturday, February 17, 2018 at 2:33 AM, Rob Jarratt wrote:
> > -----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?

The simh makefile explicitly attempts to avoid dependent packages that users 
build locally on their own.  The goal is to get users to use OS vendor provided
packages.  The point here is that when the OS (or other parties) build specific
packages, those package builds are well tested and somewhat professionally
maintained.  When a user builds a package locally, they may or may not do it 
right and when they have problems I don't want to hear about them.

If someone, like Paul, really wants to locally build some package for reasons 
beyond the needs of simh, they certainly can, and when they do that, they 
also get to personally coerce simh to use it.

- Mark



More information about the Simh mailing list