Husam Senussi wrote:
> I have installed OpenSolaris in machine with Xeon E5450 which 64 bit,
> the kernel seems to be running
> as 64 bit is showing below but all the installed application are 32 bit.
> r...@core:~# file /bin/sh
> /bin/sh: ELF 32-bit LSB executable 80386 Version 1 [FPU], dynamically
> linked, not stripped, no debugging information available
There's only one set of packages built, and both 32-bit & 64-bit binaries
are installed at the same time, and you can choose at system boot which
kernel to load, so even when 64-bit binaries are available, just running
file on the binary in /bin won't help, because that will be the 32-bit
"isaexec" wrapper which checks to see which kernel is running, and then
exec's either the 32-bit or 64-bit version from a subdirectory.
also.sfbay.sun.com% ls -li /usr/bin/ksh93 /usr/lib/isaexec
1588943 -r-xr-xr-x 112 root bin 8248 Jul 7 15:38 /usr/bin/ksh93*
1588943 -r-xr-xr-x 112 root bin 8248 Jul 7 15:38
/usr/lib/isaexec*
also.sfbay.sun.com% file /usr/bin/*/ksh93
/usr/bin/amd64/ksh93: ELF 64-bit LSB executable AMD64 Version 1 [SSE FXSR
FPU], dynamically linked, not stripped, no debugging information available
/usr/bin/i86/ksh93: ELF 32-bit LSB executable 80386 Version 1 [FPU],
dynamically linked, not stripped, no debugging information available
> So my question is shouldn't the installer install 64 bit version of the
> application, I also notices the uname report showing 32 bit.
>
> r...@core:~# uname -a
> SunOS core 5.11 snv_111b i86pc i386 i86pc Solaris
uname doesn't tell you if it's 32-bit or 64-bit - there's nothing there
that changes between the two.
--
-Alan Coopersmith- [email protected]
Sun Microsystems, Inc. - X Window System Engineering
_______________________________________________
opensolaris-discuss mailing list
[email protected]