From Wiki-UX.info

Wiki-UX / How to determine if a HP-UX executable is a 32 or 64 bit object file
Jump to: navigation, search

How to determine if a HP-UX executable is a 32 or 64 bit object file

Abstract

It may be necesary to determine if a HP-UX executable is compile as a 32 or 64 bit binary. The file command will return the necesary information to that purpose

Contents


HP-9000 (PA-RISC)

32 bit object:

$ file /usr/bin/cp
/usr/bin/cp:    PA-RISC1.1 shared executable dynamically linked -not stripped dynamically linked


64 bit object:

$ file /stand/vmunix
/stand/vmunix:  ELF-64 executable object file - PA-RISC 2.0 (LP64)

Integrity (IA64)

32 bit application":

$ file /usr/bin/cp
/usr/bin/cp:    ELF-32 executable object file - IA64


64 bit object:

$ file /stand/vmunix
/stand/vmunix:  ELF-64 executable object file - IA64

Reference

  • HP-UX Reference - file(1) - HP-UX 11i Version 3: February 2007

Authors

This page was last modified on 13 July 2010, at 03:41. This page has been accessed 4,714 times.