| Author |
Utility to determine the object type
|
|
| niteshkpatil@gmail.com 2007-01-09, 7:30 am |
| Hello,
Is there any utility on unix which can be used to determine whether a
given object(library or executable) is a 32-bit object or a 64-bit
object.
Thanks
| |
| Jens Thoms Toerring 2007-01-09, 7:30 am |
| niteshkpatil@gmail.com wrote:
> Is there any utility on unix which can be used to determine whether a
> given object(library or executable) is a 32-bit object or a 64-bit
> object.
Did you try 'file'?
Regards, Jens
--
\ Jens Thoms Toerring ___ jt@toerring.de
\__________________________ http://toerring.de
| |
| Todd H. 2007-01-09, 1:18 pm |
| niteshkpatil@gmail.com writes:
> Hello,
>
> Is there any utility on unix which can be used to determine whether a
> given object(library or executable) is a 32-bit object or a 64-bit
> object.
$ man file
$ file /path/to/lib.so
may do it?
--
Todd H.
http://www.toddh.net/
| |
| niteshkpatil@gmail.com 2007-01-10, 1:29 am |
| Thanks for the help.
file command works.
|
|
|
|