[CMake] Correct way to build for 64 bit?

Sean McBride sean at rogue-research.com
Mon Jan 29 14:03:00 EST 2007


On 2007-01-29 13:33, Bill Hoffman said:

>Currently, you will have to set CFLAGS and CXXFLAGS to -arch ppc64, also 
>most likely LDFLAGS.  Set those in the environment before running cmake. 
>That is what we do on other 64 bit platforms (IRIX for example).  At  

Thanks for your quick reply Bill.  I was curious to know how it is done
on other platforms.

>some point I will get around to your bug report and have 
>CMAKE_OSX_ARCHITECTURES handle having just one thing like ppc64.  (you 
>are welcome of course to provide a patch for that...  :-) ) .

If only I knew where to start. :) I did provide a patch for another 64
bit problem though (bug 4348).

I am seeing some weird problems building VTK as 64 bit, so I wanted to
confirm this before making any more assumptions.

Thanks!

-- 
____________________________________________________________
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