LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 04-22-2003, 03:36 PM   #1
conetic
LQ Newbie
 
Registered: Apr 2003
Location: San Antonio Texas
Distribution: Red Hat & Suse
Posts: 4

Rep: Reputation: 0
Question Linux porting compatiblities


I need to understand. If I port my code to Linux, using Red Hat for example; are my binary executables and libraries able to run unchanged on the "pSeries", "iSeries", and "zSeries" machines?

I would be using a pSeries machine for the port.

Now I would assume, if I want to develop a 64bit version I would need a 64bit server. Again, would I need just any 64bit server? Or would I need a specific server for each release?

Thanks.

AJ Garza
 
Old 04-22-2003, 04:07 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Nope mate, Linux is not Java :)

Portable means that you can compile it
without changes to the source. If the CPU's
are different, so are the binaries (well, there
are kernel modules that will allow to execute
certain non-Linux binaries [at least on i386]).

Cheers,
Tink
 
Old 04-22-2003, 04:58 PM   #3
conetic
LQ Newbie
 
Registered: Apr 2003
Location: San Antonio Texas
Distribution: Red Hat & Suse
Posts: 4

Original Poster
Rep: Reputation: 0
Tink,

I was under the impression that RS/6000 cpu's ran a PowerPC cpu. And that all PowerPC cpu's would support the same instruction set, even as the processor family grows from one chip to the next. I am assuming 32-bit would run on all, and 64-bit would only run on 64-bit supported platforms.
 
Old 04-22-2003, 05:11 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
You may be right mate, I thought that
the zSeries for instance (since it's listed
as a mainframe) would have a different
CPU from the other boxes ... :)

But then, recompile isn't a big deal,
anyway ;)

Cheers,
Tink

P.S.: AFAIK you can also compile
gcc to act as a cross-compiler, so you
wouldn't need the actual hardware you're
targeting.
 
Old 06-09-2004, 12:05 PM   #5
squirrels
LQ Newbie
 
Registered: Jun 2004
Location: Baltimore, MD USA
Distribution: Slackware 9.1 right now...
Posts: 15

Rep: Reputation: 0
Quote:
Originally posted by Tinkster
You may be right mate, I thought that
the zSeries for instance (since it's listed
as a mainframe) would have a different
CPU from the other boxes ...

But then, recompile isn't a big deal,
anyway

Cheers,
Tink

P.S.: AFAIK you can also compile
gcc to act as a cross-compiler, so you
wouldn't need the actual hardware you're
targeting.
I'm hardly an expert, but I figured I could interject. I DO know that the zSeries hardware actually has different CPUs for Linux than it does for its native OS. As for whether it's fully compatible with the x86 instruction set, that you'd have to ask IBM.
 
  


Reply



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
solaris to linux porting vinod_indus Linux - General 3 09-12-2005 10:51 AM
HP-UX to linux porting arunprakash Other *NIX 2 03-01-2005 10:53 PM
Porting C++ from HP-UX 11.0 to Linux paul sachs Other *NIX 2 01-10-2005 05:37 PM
Porting linux games amnesty_puppy Linux - General 1 11-01-2004 04:40 PM
Porting to Linux?? 00-00-00 Linux - General 1 05-27-2002 09:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:22 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