[CMake] Mac OS 10.6 i386 architecture

Sean McBride sean at rogue-research.com
Mon Aug 31 10:34:15 EDT 2009


On 8/31/09 6:53 AM, Yves Starreveld said:

>Despite setting CMAKE_OSX_ARCHITECTURES as i386, cmake builds x86_64  
>binaries on Snow Leopard, as default setting for gcc version 4.2.1 is  
>now x86_64.

Which version of CMake?  gcc 4.2 on 10.6 now defaults to x86_64 whereas
on 10.5 it defaulted to i386, as you noticed.

I recall CMake used to (still does?) ignore CMAKE_OSX_ARCHITECTURES is
there was only 1 item listed. If you try specifying say 'ppc;i386' do
you get such a binary?  Could you try CMake CVS?

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada




More information about the CMake mailing list