Skip navigation.
 
mlRe: How to tell when app will run in 64-bit mode?
FROM : Jon Gotow
DATE : Thu Feb 07 16:17:37 2008

At 1:39 AM +0100 2/7/08, Helge Hess wrote:
>>  Would the "file" tool help you?
>>  file /path/to/binary | grep x86
>>  or similar.

>
>
>How would that help? It just contains the architectures included in
>the FAT, but not in which architecture the binary will get
>executed/loaded by the system?


Correct.  And trying to predict what the system will or should do
with it, even if you do know the processor type, isn't a particularly
great approach either.  That's why using sysctl turned out to be the
best approach in my case.

  - Jon

--
________________________________________________________________________
        Jon Gotow                    <email_removed>
    St. Clair Software              http://www.stclairsoft.com/
    Fax (540)552-5898              ftp://ftp.stclairsoft.com/

Related mailsAuthorDate
mlHow to tell when app will run in 64-bit mode? Jon Gotow Feb 6, 17:30
mlRe: How to tell when app will run in 64-bit mode? Ben Allison Feb 6, 18:01
mlRe: How to tell when app will run in 64-bit mode? Ben Allison Feb 6, 18:03
mlRe: How to tell when app will run in 64-bit mode? Ben Allison Feb 6, 18:12
mlRe: How to tell when app will run in 64-bit mode? Jon Gotow Feb 6, 18:20
mlRe: How to tell when app will run in 64-bit mode? Jon Gotow Feb 6, 18:25
mlRe: How to tell when app will run in 64-bit mode? Ben Allison Feb 6, 18:40
mlRe: How to tell when app will run in 64-bit mode? Jon Gotow Feb 6, 18:48
mlSolved: How to tell when app will run in 64-bit mode? Jon Gotow Feb 6, 20:41
mlRe: How to tell when app will run in 64-bit mode? Jon Gotow Feb 6, 21:26
mlRe: Solved: How to tell when app will run in 64-bit mode? Douglas Davidson Feb 6, 21:34
mlRe: How to tell when app will run in 64-bit mode? Markus Hitter Feb 6, 22:04
mlRe: How to tell when app will run in 64-bit mode? Helge Hess Feb 7, 01:39
mlRe: How to tell when app will run in 64-bit mode? Jon Gotow Feb 7, 16:17