Previous Thread
Next Thread
Print Thread
Page 2 of 7 1 2 3 4 5 6 7
#60752 - 04/03/10 04:38 AM Re: New build instructions for SDLMAME on Mac OS X [Re: MAMEBase]  
Joined: Jan 2006
Posts: 3,685
etabeta78 Offline
Very Senior Member
etabeta78  Offline
Very Senior Member

Joined: Jan 2006
Posts: 3,685
Trondheim, Norway
Originally Posted By MAMEBase
SDLMAME will auto detect your CPU type (PPC or Intel), and your system type (32 bit or 64 bit), and build accordingly.


actually, on my macbook pro with Snow Leopard, MAME builds 32-bit even if the OS supports 64-bit apps. hence, I had to add PTR64=1. is this expected? or is the identification process at fault (and if this is the case, can I help to fix it?)

#60754 - 04/03/10 05:26 AM Re: New build instructions for SDLMAME on Mac OS X [Re: etabeta78]  
Joined: Mar 2001
Posts: 15,753
R. Belmont Online content
R. Belmont  Online Content

Very Senior Member

Joined: Mar 2001
Posts: 15,753
USA
Means you're running a 32-bit kernel. OS X is weird in that it can run 64-bit apps on a 32-bit kernel in some cases. The autodetect on Macs only builds 64 bit if you boot the system 64-bit.

#60755 - 04/03/10 05:38 AM Re: New build instructions for SDLMAME on Mac OS X [Re: R. Belmont]  
Joined: Jan 2006
Posts: 3,685
etabeta78 Offline
Very Senior Member
etabeta78  Offline
Very Senior Member

Joined: Jan 2006
Posts: 3,685
Trondheim, Norway
according to this article

http://www.macworld.com/article/142379/2009/08/snow_leopard_64_bit.html

Snow Leopard is fully capable of running 64bit apps, but the OS uses a 32bit kernel because current hw does not need a 64bit kernel. part of it might as well be true, but I don't currently really care: the important part is the full 64bit capability. hence, I will be able to play n64 at 50% of speed with no frameskip :P

back to the autodetect point, there is no problem if I have to add a PTR64=1, but I would suggest to update the original instructions with a paragraph about Snow Leopard 32bit users because the speed gain with a 64bit compile might be appreciated wink

#60759 - 04/03/10 11:55 AM Re: New build instructions for SDLMAME on Mac OS X [Re: etabeta78]  
Joined: Mar 2001
Posts: 15,753
R. Belmont Online content
R. Belmont  Online Content

Very Senior Member

Joined: Mar 2001
Posts: 15,753
USA
The real bottom line is that unless you're running a rare handcrafted 3rd party kernel driver for something and/or don't have a Core 2 Duo CPU, you should just reboot with 6-4 held down or whatever the appropriate magic is and then the autodetect will kick in fine.

I will not change the instructions. Always ending up with a safe working executable is my first priority, especially for Mac users.

#61025 - 04/10/10 08:05 PM Re: New build instructions for SDLMAME on Mac OS X [Re: R. Belmont]  
Joined: Sep 2002
Posts: 25
scarlet Offline
Member
scarlet  Offline
Member

Joined: Sep 2002
Posts: 25
The autodetect could determine if there is a 64-bit EFI installed:

http://www.ihackintosh.com/2009/08/snow-leopard-106-and-64-bit-what-you-need-to-know/

But it's not a big issue... although that link could be useful for anyone that wants to always boot into a 64-bit kernel.

#64462 - 09/13/10 01:25 AM Re: New build instructions for SDLMAME on Mac OS X [Re: Monotremata]  
Joined: Jul 2006
Posts: 99
r0ni Offline
Member
r0ni  Offline
Member

Joined: Jul 2006
Posts: 99
Detroit, MI
Originally Posted By Monotremata
Just curious RB, do you know why r0ni includes the endings script with his binaries??


I do? That's definitely a oversight, I have a script I use to build them and package them up, I prob need to do some work on it still, as I haven't changed it since sdlmame merged into baseline. I'll take a look at it.

And I can't support Tiger as I no longer have a PPC Mac. I don't think there is a legit Intel 10.4 disk out there, I could be wrong though.


SDLMAME OSX Intel Builds: http://sdlmame.lngn.net/
#68992 - 04/27/11 11:25 PM Re: New build instructions for SDLMAME on Mac OS X [Re: MAMEBase]  
Joined: Jul 2008
Posts: 72
franciscohs Offline
Member
franciscohs  Offline
Member

Joined: Jul 2008
Posts: 72
Argentina
I'm new to the MAC and still testing out. Are these instructions still valid for XCode 4?

Is there a chance to achieve the same using GCC et al.?

XCode seems awfully big and I would like to keep the clutter down, don't need all the iOS developer stuff and such.

#68994 - 04/27/11 11:37 PM Re: New build instructions for SDLMAME on Mac OS X [Re: MAMEBase]  
Joined: Mar 2001
Posts: 15,753
R. Belmont Online content
R. Belmont  Online Content

Very Senior Member

Joined: Mar 2001
Posts: 15,753
USA
The instructions are still valid, yes.

XCode includes "GCC et al" - it's the easiest way to get it on the Mac. It's equivalent to installing the "development" package group on Linux distros.

#68996 - 04/28/11 12:56 AM Re: New build instructions for SDLMAME on Mac OS X [Re: MAMEBase]  
Joined: Jul 2008
Posts: 72
franciscohs Offline
Member
franciscohs  Offline
Member

Joined: Jul 2008
Posts: 72
Argentina
Thanks, I'll see how it goes.

I was wondering about the XCode tools since it's 4GB and includes SDK, iOS emulators, etc. But I guess it's the best to go with the standard tools.

#69067 - 04/28/11 05:24 PM Re: New build instructions for SDLMAME on Mac OS X [Re: MAMEBase]  
Joined: Feb 2007
Posts: 540
Sune Offline
Senior Member
Sune  Offline
Senior Member

Joined: Feb 2007
Posts: 540
Brazil
You can skip the iOS stuff when you install XCode.

Page 2 of 7 1 2 3 4 5 6 7

Moderated by  R. Belmont 

Who's Online Now
2 registered members (Edstrom, Reznor007), 17 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,436
Posts109,404
Members4,766
Most Online225
May 26th, 2014
Powered by UBB.threads™ PHP Forum Software 7.6.0
Page Time: 0.113s Queries: 14 (0.066s) Memory: 5.0248 MB (Peak: 5.2509 MB) Zlib enabled. Server Time: 2017-11-22 13:18:01 UTC