[PATCH modular 3/4] build.sh: comment the supported systems and how they are detected

Alan Coopersmith alan.coopersmith at oracle.com
Mon Jan 3 07:34:02 PST 2011


On 01/ 2/11 12:20 PM, Gaetan Nadon wrote:
> On Solaris, uname -m would return x86_64 but never amd64, right?

On Solaris, uname -m returns i386, since it's compatible with i386 ISA
applications, even when running the 64-bit kernel.   (Not changing uname
output between 32-bit & 64-bit kernels was a design decision made when
Solaris first added 64-bit support for SPARC in the late 90's, to increase
binary compatibility with existing programs & shell scripts.)

Other utilities, like isainfo, return amd64 for the 64-bit API.

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list