PearPC is very slow in GNU/Linux

[ARCHIVED] About PearPC, a mostly obsolete PPC Mac emulator for Windows and Linux to run MacOS X 10.1 up to 10.4. Using QEMU is now recommended.

Moderators: Cat_7, Ronald P. Regensburg

Locked
Guest

PearPC is very slow in GNU/Linux

Post by Guest »

I try pearpc in linux and windows, I think the windows jitc version is veryyy fast, and in linux I compiled pearpc withc CPU=jict and is very slow, 1/3 more windows... :oops:

this is normal?


sorry for my little english
TheJabbit
Space Cadet
Posts: 2
Joined: Thu May 13, 2004 2:37 pm

None

Post by TheJabbit »

are you sure you built it right?

./configure --enable_cpu=qt --enable-cpu=jitc_x86
Guest

Post by Guest »

Yes... I sure,

is 1/3 ...¬¬¬ (or 1/4...)
iceboi

Fix for this issue

Post by iceboi »

I found the same issue it was like half speed or less. after playing around with it I found out that under SUSE 9 one of prorgram need to make JIT copy was missing so it was making the non JIT one. Install Nasm after I install it you then run:

./configure --enable-cpu=jitc_x86
make

and the program will run a lot faster
nutznboltz
Student Driver
Posts: 18
Joined: Thu May 20, 2004 12:45 pm

CXXFLAGS and CFLAGS do not contain -march=i686

Post by nutznboltz »

(read subject line)

well they don't.

Why not? Does it work? Is it useless?

Code: Select all

CFLAGS="-march=i686" CXXFLAGS="-march=i686" ./configure --enable-cpu=jitc_x86 --enable-gui=qt
FAILS! This should not happen!!! Learn to write autoconf! (oops, too much coffee...)

Incrementing ettiquette level...done. You look marvelous! You compute fantastic! I love your code!

Code: Select all

CC="cc -march=i686" CXX="c++ -march=i686" ./configure --enable-cpu=jitc_x86 --enable-gui=qt
Works to propagate -march=i686 to "make".

OH! MY BLUE CANDY CANE IS MOVING SO FAST NOW!
Last edited by nutznboltz on Thu May 20, 2004 8:15 pm, edited 1 time in total.
Hadron
Student Driver
Posts: 14
Joined: Mon May 17, 2004 8:23 pm
Location: Poland

Post by Hadron »

Code: Select all

/usr/bin/gmake  all-recursive
gmake[1]: Wchodzę katalog `/root/Desktop/pearpc-0.1.2'
Making all in src
gmake[2]: Wchodzę katalog `/root/Desktop/pearpc-0.1.2/src'
Making all in cpu_jitc_x86
gmake[3]: Wchodzę katalog `/root/Desktop/pearpc-0.1.2/src/cpu_jitc_x86'
nasm -O99 -f elf -o jitc_mmu.o -- jitc_mmu.asm
gmake[3]: nasm: Polecenie nie znalezione
gmake[3]: *** [jitc_mmu.o] Błąd 127
gmake[3]: Opuszczam katalog `/root/Desktop/pearpc-0.1.2/src/cpu_jitc_x86'
gmake[2]: *** [all-recursive] Błąd 1
gmake[2]: Opuszczam katalog `/root/Desktop/pearpc-0.1.2/src'
gmake[1]: *** [all-recursive] Błąd 1
gmake[1]: Opuszczam katalog `/root/Desktop/pearpc-0.1.2'
make: *** [all-recursive-am] 
Compile errors ? whose know wtai is wrong ?
I have fedore core 1 end gnome
nutznboltz
Student Driver
Posts: 18
Joined: Thu May 20, 2004 12:45 pm

Post by nutznboltz »

Hadron wrote:

Code: Select all

/usr/bin/gmake  all-recursive
gmake[1]: Wchodzę katalog `/root/Desktop/pearpc-0.1.2'
Making all in src
gmake[2]: Wchodzę katalog `/root/Desktop/pearpc-0.1.2/src'
Making all in cpu_jitc_x86
gmake[3]: Wchodzę katalog `/root/Desktop/pearpc-0.1.2/src/cpu_jitc_x86'
nasm -O99 -f elf -o jitc_mmu.o -- jitc_mmu.asm
gmake[3]: nasm: Polecenie nie znalezione
gmake[3]: *** [jitc_mmu.o] Błąd 127
gmake[3]: Opuszczam katalog `/root/Desktop/pearpc-0.1.2/src/cpu_jitc_x86'
gmake[2]: *** [all-recursive] Błąd 1
gmake[2]: Opuszczam katalog `/root/Desktop/pearpc-0.1.2/src'
gmake[1]: *** [all-recursive] Błąd 1
gmake[1]: Opuszczam katalog `/root/Desktop/pearpc-0.1.2'
make: *** [all-recursive-am] 
Compile errors ? whose know wtai is wrong ?
I have fedore core 1 end gnome
Install nasm.
http://nasm.sourceforge.net/wakka.php?wakka=HomePage
Hadron
Student Driver
Posts: 14
Joined: Mon May 17, 2004 8:23 pm
Location: Poland

Post by Hadron »

Thx it's work :)
Locked