How to be fashion Mavericks

Linux geeks and Mac OS hipsters unite! A board for discussion of Supermodel on non-Windows platforms.
Forum rules
Keep it classy!

  • No ROM requests or links.
  • Do not ask to be a play tester.
  • Do not ask about release dates.
  • No drama!

How to be fashion Mavericks

Postby Arbee » Thu Oct 24, 2013 8:02 pm

OS X 10.9 "Mavericks" has a few surprises for compiling Supermodel. (Existing binaries should continue to run fine, and as with everything 10.7 and later you must use SDL 1.2.15).

For SM, you'll need to make this edit to the Makefile.SDL.OSX.GCC:

On line 68, which should look like:

Code: Select all
COMPILER_FLAGS = -I$(OBJ_DIR) -ISrc/ -ISrc/OSD -ISrc/OSD/SDL/ -ISrc/Pkgs/ -ISrc/CPU/68K/Musashi -ISrc/Sound/MPEG  -c -Wall -O3 -DUSE_FILE32API -DSUPERMODEL_OSX

Go to the end of the line and add -F/Library/Frameworks/. This will make it look like this:

Code: Select all
COMPILER_FLAGS = -I$(OBJ_DIR) -ISrc/ -ISrc/OSD -ISrc/OSD/SDL/ -ISrc/Pkgs/ -ISrc/CPU/68K/Musashi -ISrc/Sound/MPEG  -c -Wall -O3 -DUSE_FILE32API -DSUPERMODEL_OSX -F/Library/Frameworks/

And on line 71, which starts off like this:

Code: Select all
LFLAGS = -o $(OUTFILE) $(SDL_LDFLAGS) -lz -lm -lstdc++

Make the same addition, so you end up with:

Code: Select all
LFLAGS = -o $(OUTFILE) $(SDL_LDFLAGS) -lz -lm -lstdc++ -F/Library/Frameworks/

Supermodel will then compile and link on OS X 10.9.

There are a lot of new warnings along the way because Xcode 5.0 and later eliminate GCC entirely in favor of Clang, which is a bit stricter by default. Hopefully we can get many of those cleaned up for the next release, whenever that is :)
Posts: 69
Joined: Sun Sep 25, 2011 6:41 pm

Re: How to be fashion Mavericks

Postby Bart » Mon Nov 11, 2013 5:28 am

Thanks for sharing this!
User avatar
Site Admin
Posts: 2348
Joined: Thu Sep 01, 2011 2:13 pm
Location: Santa Clara, California

Re: How to be fashion Mavericks

Postby GamerGee » Mon Feb 10, 2014 8:04 pm

could someone upload a binary of supermodel for 10.9.. Would love to run this on my rMBP. :)
Machine: Mac Pro 2,2 (Dual Quad Xeon @ 3GHZ)
OSX 10.6.7 / (Bootcamp 64-Bit Windows 7 Ultimate)
9GB Ram
ATI Radeon 5770 (PC Flashed To EFI Mac)
X360 Pad Soon To Be G27 Wheel
Posts: 185
Joined: Wed Nov 30, 2011 9:45 am

Return to Alternative Fashion

Who is online

Users browsing this forum: No registered users and 2 guests