Ronald P. Regensburg wrote:
To be able to compare a build with your patch and my 25-10-2009 build, could you try to create a build in the same way?
- With exclusion of the 19-02-2009 sdl audio patch that causes (or makes apparent) serious audio problems.
- With exclusion of the 18-08-2009 precise timer patch that causes (or makes apparent) a problem that causes freeze or crash at startup on many host machines/systems.
I've built a new version with these previous sources, available at the same location.
Ronald P. Regensburg wrote:
- Using sdl 1.2.10 to enable the hardware cursor for smoother cursor movements and better overall performance.
Well, I'd rather use the most recent SDL 1.2.14, since it's the only one available for x86_64, but I don't link with the static one, so if you want to use a previous version of SDL, simply replace the folder SDL.Framework in SheepShaver.app/Contents/Frameworks with the one you want to use.
Ronald P. Regensburg wrote:
I built on PPC and Intel separately and merged the two executables using the lipo command:
Code:
lipo -create SheepShaver-intel SheepShaver-ppc -output SheepShaver
(check the merged file)
file SheepShaver
No need to build on different computers: I build the 3 architectures on my MacBook Pro.
Here's how I built this version:
Code:
cd src/Unix
# SDL ppc 10.4
make distclean
NO_CONFIGURE=1 ./autogen.sh
FLAGS="-arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4"
CC=gcc-4.0 CXX=g++-4.0 CFLAGS="$FLAGS" CPPFLAGS="$FLAGS" LDFLAGS="$FLAGS" \
./configure --enable-sdl-framework --enable-sdl-video --enable-sdl-audio --disable-vosf --without-gtk --without-mon
make SheepShaver_app
cp SheepShaver.app/Contents/MacOS/SheepShaver SheepShaver_ppc
# SDL i386 10.4
make clean
FLAGS="-arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4"
CC=gcc-4.0 CXX=g++-4.0 CFLAGS="$FLAGS" CPPFLAGS="$FLAGS" LDFLAGS="$FLAGS" \
./configure --enable-sdl-framework --enable-sdl-video --enable-sdl-audio --disable-vosf --without-gtk --without-mon
make SheepShaver_app
cp SheepShaver.app/Contents/MacOS/SheepShaver SheepShaver_i386
# SDL x86_64
make clean
FLAGS="-arch x86_64 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5"
CFLAGS="$FLAGS" CPPFLAGS="$FLAGS" LDFLAGS="$FLAGS" \
./configure --enable-sdl-framework --enable-sdl-video --enable-sdl-audio --disable-vosf --without-gtk --without-mon --with-dgcc=g++-4.0
make SheepShaver_app
cp SheepShaver.app/Contents/MacOS/SheepShaver SheepShaver_x86_64
lipo SheepShaver_ppc SheepShaver_i386 SheepShaver_x86_64 -create -o SheepShaver.app/Contents/MacOS/SheepShaver
cp ../MacOSX/FatInfo.plist SheepShaver.app/Contents/Info.plist
mkdir -p SheepShaver.app/Contents/Frameworks
cp -R /Library/Frameworks/SDL.Framework SheepShaver.app/Contents/Frameworks/SDL.Framework