<div dir="ltr">I'm trying to build LLVM 3.3 using cmake/nmake, Microsoft C++ 2012, on a 64-bit Windows 7 system. I tried it with the 32-bit compiler as a test case first and that appeared to work, then with the 64-bit compiler in the hope that would give me a 64-bit build of LLVM, but instead got this error message:<div>
<br></div><div><div>[ 86%] Generating X86CompilationCallback_Win64.obj</div><div>Microsoft (R) Macro Assembler (x64) Version 11.00.51106.1</div><div>Copyright (C) Microsoft Corporation. All rights reserved.</div><div><br>
</div><div>MASM : warning A4018:invalid command-line option : /llvm-3.3.src/lib/Target/X86/X86CompilationCallback_Win64.asm</div><div>MASM : fatal error A1017:missing source filename</div><div>NMAKE : fatal error U1077: 'echo' : return code '0x1'</div>
<div>Stop.</div><div>NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\nmake.exe"' : return code '0x2'</div><div>Stop.</div><div>NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\nmake.exe"' : return code '0x2'</div>
<div>Stop.</div></div><div><br></div><div>Am I doing something wrong?</div></div>