[CMake] [Insight-developers] 64 bit build detection

Bill Hoffman bill.hoffman at kitware.com
Thu Jun 11 15:09:02 EDT 2009


Michael Jackson wrote:
> 501:[mjackson at Ferb:~]$ cd Desktop/
> 502:[mjackson at Ferb:Desktop]$ mkdir Test
> 503:[mjackson at Ferb:Desktop]$ cd Test; mkdir Build; cd Build
> 509:[mjackson at Ferb:Build]$ cmake ../
> -- The C compiler identification is GNU
> -- The CXX compiler identification is GNU
> -- Check for working C compiler: /usr/bin/gcc
> -- Check for working C compiler: /usr/bin/gcc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- CMAKE_SIZEOF_VOID_P: 4  <============ THIS IS WRONG FOR X64 builds
> -- Configuring done

I don't believe  it.   That is either a bug, or you don't really have a 
64 bit build.   When you run make on that project does it produce 32 or 
64 bit binaries?

-Bill


More information about the CMake mailing list