Hi all,
im new to pearpc, i have successfully installed both panther and Tiger with networking working. I tried many version (build) of pearpc and i have noticed that SDL version run really slowly on my computer.
Athlon XP2800+ with 1.5 GB mem and ATI9700 128Mo GPU.
Is it normal ?
Pearpc SDL perf
Moderators: Cat_7, Ronald P. Regensburg
Yeah, it appears to be normal. It's the same reason why the Windows port of SheepShaver is slower then the GTK Linux port.
Here's the flags I use in Cygwin to create an Athlon XP optimized ppc.exe (uses Win32 API calls instead of SDL):
./autogen.sh
./configure --enable-cpu=jitc_x86 --enable-ui=win32 --enable-debug=no CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -ffast-math" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -ffast-math"
make
Here's the flags I use in Cygwin to create an Athlon XP optimized ppc.exe (uses Win32 API calls instead of SDL):
./autogen.sh
./configure --enable-cpu=jitc_x86 --enable-ui=win32 --enable-debug=no CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -ffast-math" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -ffast-math"
make
If you are referring to my post, those are the commands I enter at the Cygwin terminal prompt (after downloading the PearPC source code via CVS) to create an up-to-date build for Athlon-XP.
Cywin is a virtual Linux system that runs on Windows. The biggest difficulty is figuring out which Cygwin packages to install to allow compilation of PearPC.
http://www.cygwin.com/
You could use the following for a PIV optimized build:
./autogen.sh --enable-cpu=jitc_x86 --enable-ui=win32 --enable-debug=no CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -ffast-math" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -ffast-math"
make
Cywin is a virtual Linux system that runs on Windows. The biggest difficulty is figuring out which Cygwin packages to install to allow compilation of PearPC.
http://www.cygwin.com/
You could use the following for a PIV optimized build:
./autogen.sh --enable-cpu=jitc_x86 --enable-ui=win32 --enable-debug=no CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -ffast-math" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -ffast-math"
make
There's a list on the PearPC wiki here: http://wiki.pearpc.net/index.php/FAQs#PearPC_from_CVS.Mac Emu wrote:Cywin is a virtual Linux system that runs on Windows. The biggest difficulty is figuring out which Cygwin packages to install to allow compilation of PearPC.
http://www.cygwin.com/
-
- Tinkerer
- Posts: 68
- Joined: Thu Oct 28, 2004 5:52 am
- Location: United States
- Contact:
A couple of those flags are redundant:Mac Emu wrote: ./configure --enable-cpu=jitc_x86 --enable-ui=win32 --enable-debug=no CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -ffast-math" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -ffast-math"
make
-pipe is already there as a default in the configure script
-fomit-frame-pointer is already included by invoking -O3 (a superset of many optimisations)
@Borg_will_rule: that white bar is a feature of Win32 builds. Try an SDL build.