i'd like to compile sdlmame for my old g5 ( osx 10.5 ) but make fails
pre required problem :
- i use last sdl2 for ppc : https://www.libsdl.org/release/SDL2-2.0.2.dmg
- i' have problem to obtane libcxx dependence from mac prot
- and the last glan for ppc il glang3.4 ( glang3.7 is required http://docs.mamedev.org/initialsetup/compilingmame.html
) i use this command line:
make TARGETOS=macosx BIGENDIAN=1 OVERRIDE_CC=/opt/local/bin/clang-mp-3.4 OVERRIDE_CXX=/opt/local/bin/clang++-mp-3.4 PYTHON_EXECUTABLE=/opt/local/bin/python2.7 ARCHOPTS=-stdlib=libc++but i have this error:
cc1plus: error: unrecognized command line option "-std=c++11"
make: *** [m68kmake.o] Error 1
make: *** [src/devices/cpu/m68000/m68kops.cpp] Error 2probably clang3.4 is not c++11 compliant?
i have try to compile clang3.7 but i obtain this error:
Specify --help for usage, or press the help button on the CMake GUI.
g5:build daniele$ cmake -G "Unix Makefiles" ../llvm
-- No build type selected, default to Debug
CMake Error at cmake/modules/CheckAtomic.cmake:36 (message):
Host compiler appears to require libatomic, but cannot find it.
Call Stack (most recent call first):
but i have installed libatomic_ops @7.4.4 (devel) from port but cmake glang fails who can help me to compile mame on my g5?
there is any command line option for ppc architteture?