Unix Programming - sparc solaris / linux bin compatibility?

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > December 2006 > sparc solaris / linux bin compatibility?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author sparc solaris / linux bin compatibility?
key9

2006-12-16, 7:26 am

Hi All

I have an app running on solaris , single executeable file

But when I change the os from solaris 10 to linux - sparc , the app can
not execute any more.

should I have to install some package?


$./ion
-bash: ./ion: No such file or directory
$ ls -l
total 19760
-rwxr-xr-x 1 key9 key9 20203008 2006-12-16 02:59 ion
-rw-r--r-- 1 key9 key9 2105 2006-12-16 02:58 NETMAP
$uname -a
Linux key9-sparc 2.6.17-10-sparc64 #2 Fri Oct 13 17:04:28 UTC 2006 sparc64
GNU/Linux


thank you very much!

key9


key9

2006-12-16, 7:26 am

sorry for my knowledge:

$file ion
ion: ELF 32-bit MSB executable, SPARC, version 1 (SYSV), dynamically linked
(use
s shared libs), stripped

and I think since linux bin can running on solaris and freebsd,
under freebsd we can using -- brandelf

maybe solaris ELF can also running on linux

am I wrong?


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com