I want to install slackware x86 in a ppc pc? Can I do it?
If not, if I compile only the kernel to ppc, may it work?
Are There any ways to accomplish this??
thaks for all answers! and sorry for my bad english.
|
I want to install slackware x86 in a ppc pc? Can I do it? If not, if I compile only the kernel to ppc, may it work? Are There any ways to accomplish this?? thaks for all answers! and sorry for my bad english. |
|||||||
|
|
No, you can't. You need code compiled for PPC. The Slackintosh project is based on Slackware, but for PPC. You may want to check them out. |
|||||
|
|
You can't run a kernel compiled for x86 on a different architecture, because the other architecture has a different set of instructions. It is almost like trying to compile a Java program with a C++ compiler on a lower level. You can compile the kernel for the new architecture, but you'll also need the other executables you're going to run on top of your kernel for your new architecture. |
|||
|
|
|
You can use an emulator like qemu or bochs to install a second OS (for a different CPU) on your existing OS. That allows you to use the second OS and all apps that were made for it. The only other alternative is to compile everything again for your new CPU because CPUs can't learn foreign languages. |
|||||||||||||||||
|
|
PPC and x86 use two very different instruction sets. PPC processors do not even implement much of the functionality of a modern x86 CPU because PPC processors only offer a reduced instruction set. Pretend you've bought a brand new mobile phone, but it is in a language you can't understand, and the supplied instruction manual is for a completely different brand and model. That is what x86 Slackware will look like to a PPC. |
|||
|
|