This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Check System Architecture not matching Linux 64-bit
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 08, 2009
12:58 PM
Check System Architecture not matching Linux 64-bit
My installer, developed using IA 2008 VP1 has some specific work for Linux 32 and 64 bit.
I used the Rule Check System Architecture.
On one SUSE Linux 11 64-bit, it is always matching to Intel 32-bit (x86, IA-32, i386).
I tried following commands to check machine details:
uname -i
x86_64
getconf WORD_BIT
32
cat /proc/cpuinfo
it says:
model name : Intel(R) Xeon(R) CPU 5160 @ 3.00GHz
uname -a
Linux abc 2.6.27.19-5-default #1 SMP 2009-02-28 04:40:21 +0100 x86_64
x86_64 x86_64 GNU/Linux
All above commands shows system is running 64-bit kernel.
What is getting wrong? Is Check System Architecture capable to detect Linux 64-bit?:
I used the Rule Check System Architecture.
On one SUSE Linux 11 64-bit, it is always matching to Intel 32-bit (x86, IA-32, i386).
I tried following commands to check machine details:
uname -i
x86_64
getconf WORD_BIT
32
cat /proc/cpuinfo
it says:
model name : Intel(R) Xeon(R) CPU 5160 @ 3.00GHz
uname -a
Linux abc 2.6.27.19-5-default #1 SMP 2009-02-28 04:40:21 +0100 x86_64
x86_64 x86_64 GNU/Linux
All above commands shows system is running 64-bit kernel.
What is getting wrong? Is Check System Architecture capable to detect Linux 64-bit?:
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 21, 2009
12:54 PM
I use getconf LONG_BIT and it returns 64. Specifically, I wrote some custom code to check for 64 bits, and this is what it does on linux. On solaris it calls the command isainfo -b. On windows it checks PROCESSOR_ARCHITECTURE and PROCESSOR_ARCHITEW6432. Then in my rule, I say things like Check Platform Linux AND Check 64 bits.