Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

supremeleader573

macrumors newbie
Original poster
May 22, 2020
4
4
Now that the source code for Windows XP has been leaked, would it be possible to compile XP for PowerPC Macs?
 

NikolaPPC

macrumors member
Jan 14, 2020
76
80
Even if we can compile Windows XP for PPC macs, what about graphics card and other peripherals drivers, programs (browsers, video&music players, document editors etc..) and everything else?
How much speed and reliability can we gain in comparison to Leopard and Linux distros? Updated security patches are also essential.

If this can all be sorted out and if it can be used a normal functioning OS that is good for daily use, it would be a good thing for us all.


Cheers, Nikola!
 

RogerWilco6502

macrumors 68000
Jan 12, 2019
1,823
1,938
Tír na nÓg
Even if we can compile Windows XP for PPC macs, what about graphics card and other peripherals drivers, programs (browsers, video&music players, document editors etc..) and everything else?
How much speed and reliability can we gain in comparison to Leopard and Linux distros? Updated security patches are also essential.

If this can all be sorted out and if it can be used a normal functioning OS that is good for daily use, it would be a good thing for us all.


Cheers, Nikola!
We can't forget about the need for a bootstrapper of sorts too, as OF definitely wouldn't like Windows XP right off the bat.
The source code for WinXP is Intel only. How do you intend to get it to run on RISC PPC architecture?
If we could decompile it and then compile it to PPC code, then that would work in theory.
 

amagichnich

macrumors 6502a
Feb 3, 2017
516
342
Stuttgart, Germany
What is an OS good for without it’s precious device drivers? XP’s strength at the time was the huge amount of (generic) drivers it came with. You don’t want to rewrite drivers for a different ISA, you don’t want to write drivers at all :D
 

RogerWilco6502

macrumors 68000
Jan 12, 2019
1,823
1,938
Tír na nÓg
What is an OS good for without it’s precious device drivers? XP’s strength at the time was the huge amount of (generic) drivers it came with. You don’t want to rewrite drivers for a different ISA, you don’t want to write drivers at all :D
That may be true, but there are no generic drivers that would cover the scope of hardware that PPC Macs have. You may be able to make something work, but the result would likely be unstable at best. (I could be taking your post to mean the opposite of what you mean, so I greatly apologize if that's the case)
 
  • Like
Reactions: Amethyst1

repairedCheese

macrumors 6502a
Jan 13, 2020
621
820
Off-topic, though related:

It would be completely and utterly tragic, immoral, and terrible if someone leaked the complete source code of Snow Leopard, oh dear, oh my. Calamity.
I don't know, Tiger is tempting. Especially the PowerPC version, what with Classic just there. If anything, that would be worth it for me, all on its own. But I mean, if I'm going to be greedy, why not both? I know I'd certainly like to see Rosetta get used to run OS 9 apps.

I can dream, can't I?
 

C.D.Burner

macrumors member
Sep 24, 2020
34
5
I wish I could recommend a great version of Linux for PPC that's fairly recent, however, I can't. I'm trying Ubuntu and not a fan, but perhaps I'll get it to do what I want.

My point was that you might be able to run some Windows software with that and Wine.
 

repairedCheese

macrumors 6502a
Jan 13, 2020
621
820
Does Wine even work on non-x86 boxes?
Not without QEMU emulating an x86 cpu, it doesn't. And I only know that because I've gone out of my way to run Wine in the Linux Subsystem for Windows, which only allows x86-64 apps to run, while Wine pretty much universally tends to want to run in 32-bit mode. So effectively, you have to run QEMU to emulate a 32-bit x86 cpu on your 32-bit compatible x86 cpu.

It's as convoluted as it sounds. But that's what you get for running Wine in Windows.
 

maflynn

macrumors Haswell
May 3, 2009
73,682
43,717
Now that the source code for Windows XP has been leaked, would it be possible to compile XP for PowerPC Macs?
Its possible, but not probable. You'll need to be able to convert the APIs being used something compatible that the PPC can compile. What about the non-code resources, i.e., languages graphics, etc.

Unless you have a team of developers to review and update the code, I think its not really feasible.
 

z970

macrumors 68040
Jun 2, 2017
3,580
4,502
@repairedCheese So if you have QEMU emulating an x86 instance, is it possible to have WINE sitting on top to translate Windows applications to an x86-emulated, Linux-compatible environment? Could this be done in some way akin to Classic or Rosetta, where applications are integrated into the host environment and not limited to a virtual desktop client?

General question for anyone apt to answer.
 
  • Like
Reactions: RogerWilco6502

repairedCheese

macrumors 6502a
Jan 13, 2020
621
820
@repairedCheese So if you have QEMU emulating an x86 instance, is it possible to have WINE sitting on top to translate Windows applications to an x86-emulated, Linux-compatible environment? Could this be done in some way akin to Classic or Rosetta, where applications are integrated into the host environment and not limited to a virtual desktop client?

General question for anyone apt to answer.
If memory serves, this is what I followed. But at its core, you could do this on any hardware platform as long as you have QEMU and binfmt. Any platform with any repositories. Just don't expect speed. But if I could run 32-bit Wine in 64-bit only Linux, then I don't see why you couldn't run it anywhere else.

But yes, you can definitely make a jank, degenerate hybrid of Classic and Rosetta.
 

RogerWilco6502

macrumors 68000
Jan 12, 2019
1,823
1,938
Tír na nÓg
I’m just sitting here wondering when XP’s source was leaked/released (leaked?). This is the first I’ve heard of it.
A few days ago IIRC
XP is overrated. Change my mind.
I'd agree tbh. It's a good OS, but it's as unstable as 2000 (if not moreso) and doesn't have as many modern usability enhancements as Vista onwards. I personally use it, but it's not my old Windows OS of choice by any means if I'm given the freedom to choose something else (I really only use it because of its compatibility with what I need and also the fact that I have era-appropriate hardware).
 
  • Like
Reactions: Amethyst1
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.