Stupid question (read at your own risk)

[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
Ph0eniX
Mac Mechanic
Posts: 154
Joined: Sun May 23, 2004 6:29 am

Stupid question (read at your own risk)

Post by Ph0eniX »

What would it take to compile Win32 binary of PearPC under Linux?
Stephen Coates
Expert User
Posts: 868
Joined: Sat Aug 30, 2003 4:15 pm
Location: UK
Contact:

Post by Stephen Coates »

I don't think you'd be able to without changing the code :D
Llama
Student Driver
Posts: 21
Joined: Wed May 26, 2004 4:22 pm

Post by Llama »

If you want to compile perapc under linux you shold use gcc cross compiler and build enviroment. In debain you could get by installing following packages:

Code: Select all

mingw32 - Minimalist GNU win32 (cross) compiler
mingw32-binutils - Minimalist GNU win32 (cross) binutils
mingw32-runtime - Minimalist GNU win32 (cross) runtime
It is only theory. There are no assemble cross compiler for win32 AFAIK - maybe nasm should work, maybe not.
Ph0eniX
Mac Mechanic
Posts: 154
Joined: Sun May 23, 2004 6:29 am

Post by Ph0eniX »

Llama wrote:If you want to compile perapc under linux you shold use gcc cross compiler and build enviroment. In debain you could get by installing following packages:

Code: Select all

mingw32 - Minimalist GNU win32 (cross) compiler
mingw32-binutils - Minimalist GNU win32 (cross) binutils
mingw32-runtime - Minimalist GNU win32 (cross) runtime
It is only theory. There are no assemble cross compiler for win32 AFAIK - maybe nasm should work, maybe not.
I've compiled plenty of stuff in MinGW and Cygwin before (including PearPC). I was asking about compiling Win32 binaries inside of Linux. I've heard of people doing that.
Llama
Student Driver
Posts: 21
Joined: Wed May 26, 2004 4:22 pm

Post by Llama »

You have to install mingw on linux. Or compile gcc as crosscompiler yourself. Bu

Code: Select all

bogdan:/home/bogdan/ppc/pearpc# apt-cache search mingw 
mingw32 - Minimalist GNU win32 (cross) compiler
mingw32-binutils - Minimalist GNU win32 (cross) binutils
mingw32-runtime - Minimalist GNU win32 (cross) runtime
Ph0eniX
Mac Mechanic
Posts: 154
Joined: Sun May 23, 2004 6:29 am

Post by Ph0eniX »

Llama wrote:You have to install mingw on linux. Or compile gcc as crosscompiler yourself. Bu

Code: Select all

bogdan:/home/bogdan/ppc/pearpc# apt-cache search mingw 
mingw32 - Minimalist GNU win32 (cross) compiler
mingw32-binutils - Minimalist GNU win32 (cross) binutils
mingw32-runtime - Minimalist GNU win32 (cross) runtime
Thanks!
Cybermagellan
Forum All-Star
Posts: 541
Joined: Mon May 24, 2004 5:37 am
Location: Arizona

Post by Cybermagellan »

I wonder if PPC could run under WINE?
Stephen Coates
Expert User
Posts: 868
Joined: Sat Aug 30, 2003 4:15 pm
Location: UK
Contact:

Post by Stephen Coates »

Cybermagellan wrote:I wonder if PPC could run under WINE?
I'd be very surprised if it couldn't, but it probably wouldn't work as well as it does on windows.

Try it and tell us if it works.
Mac Emu
Forum All-Star
Posts: 1208
Joined: Mon May 20, 2002 11:50 am
Location: Ouraion

Post by Mac Emu »

Anyone interested in porting SheepShaver to Win32 so there will finally be a Windows port? :D
Marc
Master Emulator
Posts: 357
Joined: Wed Aug 20, 2003 2:14 pm

Post by Marc »

A windows port of SheepShaver would be superb.

It can't be THAT diffcult for someone with programing know-how.
Stephen Coates
Expert User
Posts: 868
Joined: Sat Aug 30, 2003 4:15 pm
Location: UK
Contact:

Post by Stephen Coates »

Mac Emu wrote:Anyone interested in porting SheepShaver to Win32 so there will finally be a Windows port? :D
Maybe the PearPC authors could do that :D
Locked