[CMake] /MACHINE:x64

George Neill georgen at neillnet.com
Fri Dec 28 17:54:50 EST 2007


Hi CMakers!

I am trying to compile on a 64 bit windows machine (AMD64).  It seems
CMake only outputs /MACHINE:X64 for the link flags.   However,
link.exe reports that flag doesn't exist.   Is this a bug?

I am using,
cmake version 2.4-patch 7

cl.exe
Microsoft (R) C/C++ Optimizing Compiler Version 14.00.40310.41 for AMD64
Copyright (C) Microsoft Corporation.  All rights reserved.

link.exe
Microsoft (R) Incremental Linker Version 8.00.40310.39
Copyright (C) Microsoft Corporation.  All rights reserved.

options for /MACHINE: from link.exe  /?

/MACHINE:{AM33|AMD64|ARM|CEE|EBC|IA64|M32R|MIPS|MIPS16|MIPSFPU|MIPSFPU16|
                MIPSR41XX|SH4|SH5|THUMB|X86}

Let me know if you need more info.

Thanks,
George.


More information about the CMake mailing list