what is the impact of LSB and MSB on execution ?

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers what is the impact of LSB and MSB on execution ?
# 1  
Old 10-05-2011
what is the impact of LSB and MSB on execution ?


i have shared object file called libvp.so , which is
ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, not stripped

i am calling this program on architecture 64-bit MSB machine ( zLinux)

is there anyway to convert between LSB to MSB ??

what is the impact ?

any help is much appreciated , thank you
# 2  
Old 10-05-2011
MSB and LSB are the order which a processor handles bytes in. All x86 and x86_64 processors, from the first 8086 to whatever marketing term Intel now calls their modern processors, are LSB byte order. Most other processors, like POWER and SPARC and MIPS and Z-series, run in MSB byte order. MSB is supposedly the more 'technically correct' order.

There's no such thing as an MSB 80386 and, running zlinux, you're on some kind of Z-architecture processor or other, which has more in common with 70's mainframes than modern PC's. Your executable isn't the wrong byte-order, it's the wrong processor entirely.

I don't think you're going to be able to convert it. The instructions won't make any sense to your processor. If you can't find a binary for your architecture, you may have to compile one from scratch.
# 3  
Old 10-06-2011
Even if the library and OS had the same endianness, you would also need a 64-bit version of the library unless you have a 32-bit ecosystem on the 64-bit platform.
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. AIX

OS change Impact

Hi, Does OS change affect the applications installed in AIX. I am new to UNIX and would like to know how OS change heppens. My specific issue: My machine is currently running with AIX 6 OS with lot of applications running. Requirement is to upgrade the OS to AIX 7.1, without affecting... (1 Reply)
Discussion started by: pradebban
1 Replies

2. Shell Programming and Scripting

MSB core file ?

Hi, Can anyone please tell me what is the concept of core file in unix system. I could see a core file in the home directory for my nix file system which is ELF 32-bit MSB core file I am not sure whether it can be removed or not. Please help !! Thanks in advance (1 Reply)
Discussion started by: vikash_k
1 Replies

3. Shell Programming and Scripting

Expect Issue Serial Forground Execution vs Concurrent Background Execution

I have an expect script that interrogates several hundred unix servers for both access and directories therein using "ssh user@host ls -l /path". The combination of host/path are unique but the host may be interrogated multiple times if there are multiple paths to test. The expect script is run... (2 Replies)
Discussion started by: twk
2 Replies

4. HP-UX

Upgrade Ignite and its impact

Hi experts, I would like to ask whether upgrading Ignite in Ignite server will cause any impact or not esspecially when we try to restore back from Ignite server to client server (that used older version of Ignite-UX)? :confused: Thank you ;) (0 Replies)
Discussion started by: yeazas
0 Replies

5. UNIX for Dummies Questions & Answers

I have a SGI Impact 10,000 what should i do with it?

I have one of these machines i just aquired. http://www.sgi.com/products/legacy/p...go2_indigo.pdf What should i do with it id love to configure a OS on it but im a noob to unix. I want to be able to configure the OS then be able to ssh (think thats what iots called) into it and learn how to... (0 Replies)
Discussion started by: VenomXt
0 Replies

6. UNIX for Advanced & Expert Users

impact printer problem

We are trying to setup an impact printer - Tally t2030 on our unix server digital unix 4.0D. It skips half the first page of every print both from our application and the unix level. It starts the 2nd half of the page at the top of the 2nd physical paper in the printer. The printer uses... (4 Replies)
Discussion started by: MizzGail
4 Replies
Login or Register to Ask a Question