[CMake] Bug in Darwin CMAKE_SYSTEM_PROCESSOR
Bill Hoffman
bill.hoffman at kitware.com
Tue Feb 23 08:54:46 EST 2010
Luis Kornblueh wrote:
> 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,
Please create a bug report.
-Bill
--
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoffman at kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573
More information about the CMake
mailing list