LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-01-2000, 07:56 AM   #1
Slippy
LQ Newbie
 
Registered: Nov 2000
Location: Melbourne
Posts: 4

Rep: Reputation: 0

Just one question; how difficult is it for a newbie to use programmes for intel CPUs in LinuxPPC?

Does it require a lot of messing around in the source code or is it just a simple matter of running it through another utility to compile(?) it for a powerpc?

I've already bought the distribution and I'm just waiting for it to be delivered so it's too late now to go out and get a cheap pentium and Corel ;-(

Thanks in advance
Jason
 
Old 11-01-2000, 08:42 AM   #2
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,600

Rep: Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083
Most programs should compile without incident.
 
Old 11-01-2000, 08:57 AM   #3
Slippy
LQ Newbie
 
Registered: Nov 2000
Location: Melbourne
Posts: 4

Original Poster
Rep: Reputation: 0
Cool... how? Can you give me an example?

Suppose I have my copy of QuakeXVI (for x86). Do I just run it with a single command or script or is there more to it than that.

Remember; be specific and use li'l words. I'm coming from a Macintosh after all. ;-)

Thanks again
Jason

 
Old 11-01-2000, 09:08 AM   #4
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,600

Rep: Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083
You would need the SOURCE to be able to do this. Source code is usually not machine code specific. So if you download the source to progam x and compile it on a PPC it will work fine even if the author wrote it on an x86. If on the other hand you downloaded a binary, there is no way to convert it to PPC if it is an x86 binary. I hope this clears things up. If you have any other questions let us know.
 
Old 11-01-2000, 09:31 AM   #5
Slippy
LQ Newbie
 
Registered: Nov 2000
Location: Melbourne
Posts: 4

Original Poster
Rep: Reputation: 0
Thankyou, you've been extremely patient with me. You'd make an excellent role-model for my girlfriend. ;-)

One more question. This being Linux, I'm thinking I'll ALWAYS be able to get the source code even when I buy a shrinkwrapped binary for intel right? So in addition to the useless intel binary code, there HAS to be the original, platform independent source code in the box as well? Or aren't application developers obliged to provide it like they would be if they were modifying the kernel?

Many thanks and I promise not to darken your doorstep with my stupid newbie nonsense again... soon.

Jason
 
Old 11-01-2000, 10:26 AM   #6
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,600

Rep: Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083
Many commercial (and non-commercial) programs ship binary only.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Boot x86 target from flash, with the image and file system on the x86 host. batsayan Linux - Software 2 08-23-2005 12:09 AM
removing programmes (games) master Red Hat 2 07-06-2005 03:12 PM
Compiling programmes: How to use #ifdef? asciimonster Linux - General 1 12-13-2004 01:35 PM
Installing drivers / programmes howto wesleywest Linux - Newbie 0 11-15-2004 04:38 AM
Deleting unwanted programmes... Ewen Linux - General 33 12-26-2002 11:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration