Michael Jackson wrote:


So it builds a 32 bit executable.

:)
Are you saying (from above) that if I have a 64 bit build of CMake then I will get 64 bit binaries by default?

No, it depends on the flags given to the compiler. I think you want -m64. So if you do this:

export CFLAGS=-m64
mkdir Build64
cd Build64
cmake ../Test
make

Then you will get a 64 bit build.

-Bill
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to