Operating System - Tru64 Unix
1828455 Members
3732 Online
109978 Solutions
New Discussion

how to confirm that executable is of 32-bit or 64-bit ?

 
Tushar Karande
New Member

how to confirm that executable is of 32-bit or 64-bit ?

Generally we use file command to confirm that executable is 32/64 bit

for instance on RedHat 4 if we execute file on any system utility like date

#file /bin/date
/bin/date: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), stripped

which clearly shows date is 32-bit executable

but when I execute above command on True64 I get following output

#file /sbin/date
/sbin/date: COFF format alpha dynamically linked, demand paged executable or object module stripped - version 3.13-14


is there any way by which we can confirm that executable is 32/64 bit?
1 REPLY 1
Rob Leadbeater
Honored Contributor

Re: how to confirm that executable is of 32-bit or 64-bit ?

Hi,

Tru64 has always run on 64 bit processors, hence all executables will be 64 bit by definition.

Hope this helps,

Regards,

Rob