vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| vwu@anacomp.com (Vance Wu) writes: > Can someone tell me what is the AIX command to check an > executable/object module is an 32-bit or 64-bit application. man file $ cc junk.c && file a.out a.out: executable (RISC System/6000) or object module $ cc -q64 junk.c && file ./a.out a.out: 64-bit XCOFF executable or object module not stripped Cheers, -- In order to understand recursion you must first understand recursion. Remove /-nsp/ for email. |
| |||
| 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 -- http://www.faqs.org/rfcs/rfc1855.html 3.1.1 General Guidelines for mailing lists and NetNews 3.1.3 NetNews Guidelines |
| ||||
| 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 |