Re: How to determine if running on a 32 or 64 bits kernel ?
- From: phil-news-nospam@xxxxxxxx
- Date: 14 Feb 2008 22:14:17 GMT
On Thu, 14 Feb 2008 14:13:17 -0500 Joe Beanfish <joe@xxxxxxxxxx> wrote:
| I know much of the Linux community things everything should be
| recompiled on every system it runs on, but suppose for a moment that
| someone wants to distribute a program in binary form. A good install
| program for that package would want to check the system architecture
| and install the binary (x86, x86_64, ia64, etc...) best suited to
| the environment where it will run.
That sounds like "uname -a" or "uname -m" is what you want. You want to
select the right binary, or verify it is the best choice even when it does
run in a lesser way.
So what binary would you choose for a 64-bit kernel with a 32-bit runtime?
I think a 64-bit program will have some issues in that. You're probably
already testing the runtime environment. But if they are mixed like that,
what is your choice?
--
|---------------------------------------/----------------------------------|
| Phil Howard KA9WGN (ka9wgn.ham.org) / Do not send to the address below |
| first name lower case at ipal.net / spamtrap-2008-02-14-1610@xxxxxxxx |
|------------------------------------/-------------------------------------|
.
- 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
- Re: How to determine if running on a 32 or 64 bits kernel ?
- From: phil-news-nospam
- Re: How to determine if running on a 32 or 64 bits kernel ?
- From: Joe Beanfish
- 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: Kernel Space to User Space Communication in 2.6
- 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):
Relevant Pages
|