libretro / libretro-super

Super repo for other libretro projects. Fetches, builds and installs.
MIT License
401 stars 282 forks source link

osx 10.5 ppc - mame incorrectly sets arch #552

Open snigel opened 7 years ago

snigel commented 7 years ago

My powerpc G4 (32bit) is incorrectly detected as 64bit by libretro-mame.

Precompiling src/emu/emu.h...
c++ -MMD -MP -MP -D__LIBRETRO__ -DPTR64=1 -DCRLF=2 -DOSX_PPC -DFLAC__NO_DLL
-DLUA_COMPAT_ALL -DLUA_COMPAT_5_1 -DLUA_COMPAT_5_2 -I../../../../../src/osd                                                                    
-I../../../../../src/emu -I../../../../../src/lib/util -O2 
-m64 
-fPIC -Wno-unused-label -flax-vector-conversions 
-arch ppc64 
-pipe -Wno-deprecated-declarations -O3 -fno-strict-aliasing -Wno-unknown-pragmas -Wall -Wcast-align -Wundef -Wformat-security -Wwrite-strings -Wno-sign-compare -Wno-conversion -Wno-unused-result -Wno-array-bounds
-m64 

To make matters worse. -arch is not supported on the gcc compilers for osx ppc that are modern enough to compile mame. For osx ppc, -arch needs to be omitted in order to build mame.

orbea commented 6 years ago

@snigel Is this still a problem? If so can you report it for the correct repo?

https://github.com/libretro/mame

inactive123 commented 6 years ago

I am not sure if PowerPC OSX is still supported by mainline MAME. Maybe it would be best to resort to older MAME core versions if mainline MAME is not an option.