nutznboltz
May 25th, 2004, 21:58
PearPC is a PowerPC emulator. Apple uses PowerPC so the Pear is pun on both Apple and PowerPC. PearPC is capable of running Mac OS X, Darwin and Linux now. Some day it might even run *BSD under emulation:) It can run on FreeBSD now.

http://pearpc.sourceforge.net/

A PearPC port was added on Sun May 23 21:28:46 2004 UTC.

http://www.freebsd.org/cgi/cvsweb.cgi/ports/emulators/pearpc/

The author claims bento tested it on FreeBSD-4 and that all my compiler errors when I tried to build the port are due to local problems.

I don't think so. I think that PearPC cannot be compiled with GCC < 3.x.

Can someone else try to build PearPC on FreeBSD-4.x and report back?

Building on FreeBSD-5.x is not helpful to me since FreeBSD-5 has GCC 3.x.

Thanks.

P.S. If you want my patches to make the FreeBSD PearPC port compile on FreeBSD-4 by using GCC 3.3.2 I will be provide them, just ask.

nutznboltz
May 28th, 2004, 09:07
As an update the port maintener admitted bento ( http://bento.freebsd.org ) had not yet compiled his port on FreeBSD-4.

v902
June 2nd, 2004, 00:12
PearPC *should* compile with gcc3, I'm nto sure if it does or not as I have not yet played with it, but if it compiles with gcc2 it will only have a few errors to fix over to gcc3, also your version of gcc3 is important as each new version drops some support for certain "extensions".

v902
June 2nd, 2004, 00:46
After looking at it on FreeBSD 5.2 with gcc3.3.3 it fails, but that's because PearPC 0.1.2 is depending on Linux only headers (ie /usr/include/asm/*) so it's failing there :( (/src/io/3c90x/if_posix.cc is the first file that fails).

soup4you2
June 2nd, 2004, 07:48
pearpc is cool but still waaaay too slow.. i'll stick w/ my mac

nutznboltz
June 10th, 2004, 09:50
PearPC *should* compile with gcc3, I'm nto sure if it does or not as I have not yet played with it, but if it compiles with gcc2 it will only have a few errors to fix over to gcc3, also your version of gcc3 is important as each new version drops some support for certain "extensions".
You are looking at what I wrote backwards. It requires gcc3, it fails with gcc2.

nutznboltz
June 10th, 2004, 09:51
The maintainer started working with me after a bit and now PearPC builds on FreeBSD-4 except for the WITH_QT option.

gerard
June 24th, 2004, 09:49
I'd like to get hold of those patches if I could. I'm running 4.10-STABLE and trying to compile PearPC 0.2.0 is failing when compiling with gcc 3.3 as (of course) I'm missing the stdint.h header, which is not supplied with FBSD 4.x

Could you mail them to serizonAustralia@hotmail.com please?