08-17-04 12:59 PM
Hi,
I need to use ELF library for HP-UX (32-bit), Solaris (32-bit) and
OSF (Digital - 64 bit) to analyse the ELF object files already
generated for m68k target platform using gcc cross-compiler.
(Something similar to ElfReader.)
The problem is that these host machines (HP, Sun and Digital) as well
as the target machine (m68k) have different endianess.
1) HP (HP-UX) and Sun (Solaris) is Big Endian
2) Digital is little endian
3) m68k is Big endian
Thus the elf formatted object file generated for m68k is not being
read on Digital machine.
Can anyone please suggest me a standard ELF library for download which
takes care of the endianness of the host machine so that I can use the
same library for all the host platforms?
Thanking in anticipation,
Milan Saxena
[ Post a follow-up to this message ]
|