[Simh] Installing SDL2 on Mac To Build SIMH
Rob Jarratt
robert.jarratt at ntlworld.com
Fri Feb 16 16:58:23 EST 2018
> -----Original Message-----
> From: Paul Koning [mailto:paulkoning at comcast.net]
> Sent: 16 February 2018 21:19
> To: Mark Pizzolato <Mark at infocomm.com>
> Cc: rob at jarratt.me.uk; simh at trailing-edge.com
> Subject: Re: [Simh] Installing SDL2 on Mac To Build SIMH
>
>
>
> > On Feb 16, 2018, at 3:50 PM, Mark Pizzolato <Mark at infocomm.com> wrote:
> >
> > On Friday, February 16, 2018 at 12:23 PM, Rob Jarratt wrote:
> >> I don't have a Mac but I need someone to be able to build SIMH on his
> >> Mac and be able to link SDL2. I have looked at this page:
> >> https://www.libsdl.org/download-2.0.php
> >>
> >> I don't understand if you need runtime or dev libraries, I have tried
> >> opening both dmg files with 7Zip and I can't find anything in either
> >> that looks like a libsdl2.a file. What am I looking for and where
> >> would I put the file to be able to link it? Compile already works.
> >
> > Rob,
> >
> > The normal simh makefile knows how to find the necessary SDL pieces on
all
> *nix platforms (including MacOS X).
>
> Unfortunately it doesn't handle the simple case of installing the pieces
from
> source. I have SDL and SDL2 in /usr/local/lib, which is the default for
GNU
> packages built from source. SIMH doesn't find it. Which is odd, because
> /usr/local/lib is also the standard spot on other Unix systems such as
Linux.
>
> "brew" and/or "port" use other paths like /opt, but I don't want to use
those
> tools. It would be good if built-from-source dependencies are recognized.
>
> As for the prebuilt libraries, I wonder if all you get is shared
libraries. On Linux
> those are *.so files, but on Mac OS they are *.dylib.
>
I don't think I saw a .dylib either.
Regards
Rob
More information about the Simh
mailing list