From: Alexei S. <ale...@gm...> - 2012-01-05 02:42:56
|
I've committed an Xcode project to the SheepShaver repository that makes it easier to build SheepShaver as a Universal Binary (with 3 architectures: i386, x86_64 and ppc). This is an optional new build system that does not affect the existing autogen/configure based build system, which is still fully supported. The Xcode project will build SheepShaver with configuration "--enable-sdl-audio --enable-sdl-video --disable-vosf". The Xcode project lives in SheepShaver/src/MacOSX/SheepShaver.xcodeproj and has been tested to work on Snow Leopard 64-bit with Xcode 3.2.6 and the 10.4 SDK installed. To use it, you need the following: 1. A side-by-side checkout of SheepShaver and BasiliskII CVS repositories (this is normal). 2. Having run 'make links' from SheepShaver/ root. 3. SDL installed as a framework in /Library/Frameworks/SDL.framework. 4. You do not need to run autogen.sh / configure to use the Xcode project. If you've done so already, you should remove or temporary move/rename src/Unix/config.h, as the presence of that file currently conflicts with the Xcode build and will cause errors in Xcode. With the above all set, you should be able to launch the Xcode project and build SheepShaver, resulting in a UB build containing SDL as a private framework in the bundle. The result will be located in either SheepShaver/src/MacOSX/build/Debug or SheepShaver/src/MacOSX/build/Release directories, depending if you do a Debug or Release build. Let me know if it works for you! Cheers, -Alexei |