[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Determining if host is 64bit
From: |
Eli Zaretskii |
Subject: |
Re: Determining if host is 64bit |
Date: |
Fri, 08 Oct 2010 11:59:09 +0200 |
> From: address@hidden (Paulo J. Matos)
> Date: Fri, 08 Oct 2010 10:42:07 +0100
>
> One of the parameters the configure is supposed to receive is
> --enable-64bit for 64 bit hosts. However, I am not able to determine if
> the host is 64bit. I would need this to work in mingw and linuxes. Any
> tips on how to check this in a Makefile?
On Windows, look up the PROCESSOR_ARCHITECTURE and
PROCESSOR_ARCHITEW6432 environment variables.