Compatibility between UNIXes


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Compatibility between UNIXes
# 1  
Old 04-05-2013
Bug Compatibility between UNIXes

Will a program or application that runs in one UNIX run in any UNIX? Shouldn't they?
Why not?
What are the constraints? What keeps OpenOffice for Solaris from working on a HP-UX box?

Wouldn't life be simpler (and thus more eficient) if all UNIXes were «a UNIX» instead of manufacturers' vault?
# 2  
Old 04-05-2013
You obviously know already that nearly all your questions get a flat "no", so I'll just explain why.

UNIX runs on many systems that are completely incompatible with each other. HP-UX runs on Itanium and PA-RISC... Solaris runs on x86 and Sparc... AIX runs on POWER or System/370... IRIX runs on MIPS. And so forth. They are physically incompatible with each other. Not even linux-SPARC is compatible with linux-x86, their CPU's do not have a common instruction set. They cannot run the same binary programs, computers simply do not work that way.

UNIX can share programs which aren't native instructions, though. Most importantly, C programs. These are the ones which actually become binary programs... You can compile the same C code into binary programs for IRIX, HP-UX, AIX, or Solaris. This is what lets UNIX run the same program on umpteen different kinds of completely alien computers. This is what all these different UNIX have in common, they call it "source compatibility".

If UNIX had to be "compatible" the way you want, it would run on one and only one kind of computer -- the PDP-7.

Last edited by Corona688; 04-05-2013 at 01:54 PM..
# 3  
Old 04-05-2013
Like the explanation. And the picture is awesome, that is how 1965's mainframes were looks like. correct.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Linux Compatibility

Hi all. I'm in the process of migrating existing script on UNIX server to the LINUX platform. One of the script that have issues is this one: cd /home/edwh_test/S13018/EDWH-DMT03/stgdata/RPT/ # GIANT # rm -f INPUT_GIANT.csv filename=INPUT_GIANT_*csv GIANT_MONYYYY=$(echo $filename | awk... (9 Replies)
Discussion started by: aimy
9 Replies

2. UNIX for Advanced & Expert Users

Init vs rc scripts, history, different UNIXes

Why not just init? What do /etc/rc*.* scripts, rc*.*d and init*.*d directories and directory trees, etc (ex like svc, startsrc, and on and on) do that init and inittab do not or could not do? Is it just so novice SysAdmins need not mess with init? Is there an overview anyplace of how start-up... (4 Replies)
Discussion started by: Clovis_Sangrail
4 Replies

3. Solaris

Solaris 10 - HW compatibility

Sorry, if this isn't the right forum for this question. I would like to compile an executable with gcc/g++ under Solaris 10 on the following OLDER SPARC-machine and then run this executable on the NEW SPARC-machine (see description down in this post). I'm wondering if it would be possible or if... (4 Replies)
Discussion started by: sunfire
4 Replies

4. SCO

Binary compatibility

Hi I'm going to buy C-ISAM 7.25 under sco unixware 7 to install in sco openserver 5.0.7. I'm wondering sco unixware 7 and sco openserver 5.0.6 are binary compatibles ? tnx (1 Reply)
Discussion started by: javad1_maroofi
1 Replies

5. HP-UX

LTO Compatibility

Is any one told me that LTO3 tape Cartridge is compatible with LTO2 Tape Drive. (2 Replies)
Discussion started by: Shawn Paul
2 Replies

6. HP-UX

About compatibility of HP-UX 11i

Could you please tell me if Informix 7.20 UD2 works on HP-UX 11i and if applications that works on HP-UX 10.20 and Informix 7.20 UD2 works on HP-UX 11i. Thanks a lot. (0 Replies)
Discussion started by: Irene Martínez
0 Replies

7. Solaris

Disks compatibility

Hi all, I am trying to isntall veritas replicator on 2 DA 3000 storage , But with little luck . I am running a solaris 10 and vsf 4.1, Veritas Volume Replicator Option 4.1 My question is that : when i got the array i had 2 disks missing , So we had to replace them , but I found out that... (0 Replies)
Discussion started by: ppass
0 Replies

8. Filesystems, Disks and Memory

Program Compatibility

I really Hate the Monopoly Microsoft has over Software, but the fact remains it exists... so I wonder if there was a way to enable Programs Made for Windows and Mac to be Run in Unix as if it was in the Specified OS. Like a Compatibility Wizard. Or in a dual boot computer, for Unix to be able to... (4 Replies)
Discussion started by: Elliandr
4 Replies

9. Shell Programming and Scripting

compatibility problem ??!!

hi! i have two problems with the following script who prepares a date (removes the heading zero from day if day<10) for arithmetical operations: <script> #!/usr/bin/sh DAY=`date +%d`; echo 1 - $DAY;#i.e. 06 DAY=${DAY#0}; echo 2 - $DAY;#i.e. 6 </script> 1. every time i run this... (3 Replies)
Discussion started by: oti
3 Replies

10. Filesystems, Disks and Memory

Motherboard Compatibility

Hi there,, I URGENTLY need to know if the Gigabyte GA 8IDML Motherboard is compatible with the Unix BSD. We need to know if we should buy new boards before we can use the product. Thanking you Hannelie Bosch:confused: :confused: (1 Reply)
Discussion started by: hbosch
1 Replies
Login or Register to Ask a Question