Re: How to determine if running on a 32 or 64 bits kernel ?
- From: Chris Friesen <cbf123@xxxxxxxxxxxxx>
- Date: Thu, 14 Feb 2008 08:45:33 -0600
laurent.charmet@xxxxxxxxx wrote:
I'm looking for an API or whatever to determine if kernel/os is 32 or
64 bits. It must be dynamic, because my binary can be compiled on a
machine and run on another.
If you run a 32-bit app on a 64-bit system, it was still compiled as a 32-bit app.
Why do you want to know the word size of the kernel?
Chris
.
- Follow-Ups:
- Re: How to determine if running on a 32 or 64 bits kernel ?
- From: laurent . charmet
- Re: How to determine if running on a 32 or 64 bits kernel ?
- References:
- How to determine if running on a 32 or 64 bits kernel ?
- From: laurent . charmet
- How to determine if running on a 32 or 64 bits kernel ?
- Prev by Date: Re: How to determine if running on a 32 or 64 bits kernel ?
- Next by Date: Re: How to determine if running on a 32 or 64 bits kernel ?
- Previous by thread: Re: How to determine if running on a 32 or 64 bits kernel ?
- Next by thread: Re: How to determine if running on a 32 or 64 bits kernel ?
- Index(es):