5 ms·
There's a 64-bit version of the MSVC toolchain and MSBuild, so if you build outside of Visual Studio you won't be so constrained. This is how we do our builds h
by omellet 15y ago
There's a 64-bit version of the MSVC toolchain and MSBuild, so if you build outside of Visual Studio you won't be so constrained. This is how we do our builds here at work (a mix of C# and C++). We still edit code in VS, but local builds and continuous integration are done entirely using MSBuild. As of VS2010, C++ project files are MSBuild projects, and no longer need to use VCBuild.exe.
- shin_lao 15y agoI didn't know about the 64-bit toolchain, where can you get it?
- CurtHagenlocher 15y agoI 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.