3 ms·
I don't think this is true, at least for the C++ compiler. There's a 32-bit version producing 32-bit code, a 32-bit version producing 64-bit code and a 64-bit v
by CurtHagenlocher 15y ago
I don't think this is true, at least for the C++ compiler. There's a 32-bit version producing 32-bit code, a 32-bit version producing 64-bit code and a 64-bit version producing 64-bit code.
Disclaimer: I work at Microsoft, but this is my hazy recollection rather than some kind of informed statement.
- omellet 15y agoThe %VSROOT%\VC\bin\amd64 is indeed a native x64 binary.
- CurtHagenlocher 15y agoYes, but it can only produce x64 code; it can't produce x86 code. Mind you, I'd love to be wrong about that...
- omellet 15y agoSorry, I didn't read your entire comment. The 64-bit linker can produce 32-bit code with /MACHINE:X86.