View Single Post

   
  #4 (permalink)  
Old 01-04-2008, 09:39 PM
Vance Wu
 
Posts: n/a
Default Re: Command to find out an executable is an 32-bit or 64-bit application

Nicholas Dronen <ndronen@io.frii.com> wrote in message news:<402d9a03$0$197$75868355@news.frii.net>...
> Vance Wu <vwu@anacomp.com> wrote:
> VW> Hi all,
>
> VW> Can someone tell me what is the AIX command to check an
> VW> executable/object module is an 32-bit or 64-bit application.
>
> Have you tried file(1)?
>
> http://xrl.us/bgze [1]
>
> You can also do:
>
> $ dump -X64 [ path to file ]
>
> I think if dump prints an error message, the file's not 64-bit.
>
> http://xrl.us/bgzf [2]
>
> Regards,
>
> Nicholas
>
> 1: http://www16.boulder.ibm.com/doc_lin...htm#a3d2b0fish
> 2: http://www16.boulder.ibm.com/doc_lin...p.htm#a32099c2


Thanks to Paul and Nicholas,

I did use file and dump commands, but I wasn't aware of these commands
can also check for 32/64 bit app.

Thanks again,
Vance
Reply With Quote