[CMake] Bug in Darwin CMAKE_SYSTEM_PROCESSOR

Luis Kornblueh luis.kornblueh at zmaw.de
Tue Feb 23 04:10:22 EST 2010


Hi,

for me it looks like a small bug in determining the processor type
in Darwin (MacOSX):

uname -m returns always i386 despite of the processor used

uname -p returns on a laptop (Core2duo) running 10.5.x i386
       (32bit kernel)

uname -p returns on a MacPro (Nehalem)  running 10.6.x x86_64
       (64bit kernel)

It seems that cmake_system_processor is using for Darwin uname -m 
instead of uname -p.

I checked as well config.guess, which returns the uname -p results
(more or less ;-) - i686 instead of i386).

I think, it would be nice, to fix this.

Thanks a lot,
Luis

-- 
                              \\\\\\
                              (-0^0-)
--------------------------oOO--(_)--OOo-----------------------------

  Luis Kornblueh                           Tel. : +49-40-41173289
  Max-Planck-Institute for Meteorology     Fax. : +49-40-41173298
  Bundesstr. 53
  D-20146 Hamburg                   Email: luis.kornblueh at zmaw.de
  Federal Republic of Germany

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5998 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100223/fee9cb8e/attachment-0001.bin>


More information about the CMake mailing list