Re: How to determine if running on a 32 or 64 bits kernel ?
- From: David Schwartz <davids@xxxxxxxxxxxxx>
- Date: Thu, 14 Feb 2008 13:34:13 -0800 (PST)
On Feb 14, 7:39 am, laurent.char...@xxxxxxxxx wrote:
Because I want to check if installed/running binaries are well fited.
It's perfectly legal to run 32 bits on a 64 bits os, but in some case
my program load external dll or external program load some of my libs.
And mixed 32/64 bits dll is a source of errors. So I prefer warm user
that installed version is not the right. On same spirit, it's not good
to run X86 binaries on itatium because emulation has a big cost.
Since it's also not well-fitted to run Sparc binaries on an x86
system, it seems like 'uname' provides exactly what you want.
DS
.
- References:
- 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 ?
- From: Chris Friesen
- Re: 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: Kernel Space to User Space Communication in 2.6
- 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: semantics of unshared namespace
- Index(es):