[CMake] Mac OS 10.6 i386 architecture

Yves Starreveld yveslists at gmail.com
Mon Aug 31 10:45:55 EDT 2009


This was CMake CVS from this AM. Despite specifying i386, x86_64 was  
built.

Yves
On 2009-08-31, at 08:34 , Sean McBride wrote:

> 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