[CMake] Linux 64 bit woes

Andreas Schneider mail at cynapses.org
Thu Mar 27 04:27:29 EDT 2008


Robert Bielik wrote:
> I'm compiling under Ubuntu and want to generate 64 bit code. Is there a 
> way to get cmake to generate
> the correct settings in the Makefile ?
> 
> I tried adding -m64 (and -march=x86-64) but the __x86_64__ define does 
> not seem to be set. I.e. when using

This define is set by the compiler not by the build system.


	-- andreas

-- 
http://www.cynapses.org/ - cybernetic synapses


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 257 bytes
Desc: OpenPGP digital signature
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080327/1577f6c5/attachment-0003.pgp>


More information about the CMake mailing list