Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-15-2008, 01:35 PM
|
#1
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
Applications for ppc
In a recent thread, several of us were trying to help with Flash on a Playstation (PPC). Finally, someone observed that there is no Adobe flashplayer for PPC.
I did a bit of digging and could not find any apps offering a PPC version. But there are complete distros that offer PPC versions-----Does this mean that they (the distro providers) are re-compiling the kernel AND all the apps for PPC?
As a general rule, if you have the source code, can you recompile an application for the PPC architecture?
|
|
|
12-16-2008, 06:27 AM
|
#2
|
Senior Member
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596
Rep:
|
Yes, you can, unless the code is in asm or some other non-portable language. Python, C, perl, bash etc ... no problem. Unfortunately, noone has the source code for flashplayer, except those who don't care about PPC. You could still use an emulator like qemu to run flashplayer on a PPC architecture, but that makes it a little bit painful to run.
Last edited by Agrouf; 12-16-2008 at 06:30 AM.
|
|
|
12-16-2008, 12:27 PM
|
#3
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
Original Poster
|
Does anyone know how the distros for PPC are done?---ie do they re-compile all the apps for PPC? Utilities? Libraries?
|
|
|
12-16-2008, 01:12 PM
|
#4
|
Senior Member
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596
Rep:
|
It depends on the distro.
Yellow Dog rpms are indeed compiled for the PPC processors.
Gentoo and LFS, obviously don't compile it at all.
Gentoo does provide some binaries compiled for PPC (like portage and the compiler itself: gcc) and then everything is compiled from that on your computer.
But yes, in order for the distro to run on a PPC processor, everything need to be compiled for the PPC processor (including utilities, libraries and programs). It's done exactly like the x86 distros are done, except they use a PPC conpiler instead of a x86 one, or a x86_64 one on x86_64 processors, or like MIPS one on MIPS processors, ARM, SPARC, etc... It's not different.
No need to "re-compile" actually, just need to "compile", since the software is usually provided by the author as source code (tar.bz2).
Indeed, the people at Debian, Mandriva, Red hat and stuff do need to compile the software for x86 and for all the processors they support in order to provide binaries for the processor they support (386, 586, PPC, etc). PPC is no different than others.
The only distros creators that don't need to compile software from source are those who rely on other distros to do that for them.
Last edited by Agrouf; 12-16-2008 at 01:14 PM.
|
|
|
All times are GMT -5. The time now is 05:02 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|