Your machine hardware is 64 bit, but is the OS? The code generated by -m64 depends on the "environment", not the actual hardware:
So type "uname -a" and "arch" to see what environment you are actually running under. If it's x86_64, then you are indeed on 64-bit. Otherwise, it's 32-bit.
Hi all,
I am facing problem in porting to 64 bit AIX especially with compiling options to compile and run under 64 bit kernel.Can any one put some light on the issue
thanks in advance
vishal (14 Replies)
Alright. As the title states, I'm working with a UNIX based web server(Sun Fire v120). The problem I'm currently having is trying to properly configure it for hosting. If anyone could help me out, it would be great.
Much thanks.
-XTIZ3 (2 Replies)
Hi,
I am trying to convert 32-bit code to 64-bit.
I have defined function
int main()
{
int* l;
size_t len1;
fun(len1);
return 0;
}
void fun(int* ptr)
{
cout<<"\nsizeof(ptr)"<<sizeof(ptr);
}
However while compiling getting error as :
Error: Formal argument ptr... (2 Replies)
I am just trying to get the warning while compiling for 64-bit on Linux
>>
uname -a
Linux mms4.es.cpth.ie 2.6.9-22.ELsmp #1 SMP Mon Sep 19 18:00:54 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux
===================================
Written test.c file which conatin :
#include<stdio.h>... (1 Reply)
Dear All,
I am new on Tru 64 bit Unix platform. I have a database server "HP AlphaServer ES45" version p5.1 of Tru Ux 64 bit installed. I have 4 hard drives in this system (1,2,3,4). My 4th hard drive is damaged which contain Oracle database files including partitions on 4th drives... (2 Replies)
Hello All,
I have HP Openview storage data protector version 5.5. When I am going to write my backup I have an error message saying "Connot Open Device /dev/rmt/0mn"
Follownig is my output:
# ls -l /dev/rmt/0mn
crw-rw-rw- 2 bin bin 205 0x080140 Jan 17 16:41 /dev/rmt/0mn
# uname -a... (2 Replies)
i am trying to build on hpux-itanium 64 bit platform. my application needs to link to 64 bit version of the library libCsup.so
This library is present in /usr/lib/hpux64/libCsup.so
I am specifying the location of this library as linker flags
LDFLAGS := -Wl,-N -Wl,+s... (0 Replies)
Hi,
I installed Db2 9.7 on RHEL5 32bit .
Instance Name is db2inst1 amd in that i created database as mydb.
I exported env variables for
classpath ,db2dir,db2instance
LD_LIBRARY_PATH ,PATH ,ODBC, ODBCHOME ,ODBCINI
My application needs ODBC connectivity and so I modified odbc.ini file . ... (0 Replies)
Hello,
I am fairly new to Solaris so please be gentle ;). I am trying to install apache 2.4.3 adapting a script one of my colleagues wrote for version 2.2.23. The problem lies in the fact that I am aiming at creating a 64bit package hence I've already amended the script to reflect that. I... (3 Replies)
Discussion started by: teotao
3 Replies
LEARN ABOUT SUSE
isainfo
isainfo(1) User Commands isainfo(1)NAME
isainfo - describe instruction set architectures
SYNOPSIS
isainfo [ [-v] [-b | -n | -k] | [-x]]
DESCRIPTION
The isainfo utility is used to identify various attributes of the instruction set architectures supported on the currently running system.
Among the questions it can answer are whether 64-bit applications are supported, or whether the running kernel uses 32-bit or 64-bit device
drivers.
When invoked with no options, isainfo prints the name(s) of the native instruction sets for applications supported by the current version
of the operating system. These are a subset of the list returned by isalist(1). The subset corresponds to the basic applications environ-
ments supported by the currently running system.
OPTIONS
The following options are supported:
-b Prints the number of bits in the address space of the native instruction set.
-k Prints the name of the instruction set(s) used by the operating system kernel components such as device drivers and STREAMS mod-
ules.
-n Prints the name of the native instruction set used by portable applications supported by the current version of the operating sys-
tem.
-v When used with the- b, -k or -n options, prints more detailed information.
-x Prints instruction extensions to the native ABI which are supported by the platform.
EXAMPLES
Example 1: Invoking isainfo on a 32-bit x86 Platform
The following example invokes isainfo on a 32-bit x86 platform:
example% isainfo -v
32-bit i386 applications
example% isainfo -k
i386
Example 2: Invoking isainfo on a System Running the 64-bit Operating System on a 64-bit SPARC Processor
The following example invokes isainfo on a system running the 64-bit operating system on a 64-bit SPARC processor:
example% isainfo
sparcv9 sparc
example% isainfo -n
sparcv9
example% isainfo -v
64-bit sparcv9 applications
32-bit sparc applications
example% isainfo -vk
64-bit sparcv9 kernel modules
Example 3: Invoking isainfo -x on an AMD Opteron CPU
The following example invokes isainfo with the -x option on an AMD Opteron CPU:
example% isainfo -x
i386: fpu tsc cx8 sep cmov mmx ammx a3dnow a3dnowx fxsr sse sse2 pause
EXIT STATUS
Non-zero Options are not specified correctly, or the command is unable to recognize attributes of the system on which it is running.
An error message is printed to stderr.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO isalist(1), uname(1), psrinfo(1M), sysinfo(2), attributes(5), isalist(5)SunOS 5.10 20 Jul 2004 isainfo(1)