Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



The %VSROOT%\VC\bin\amd64 is indeed a native x64 binary.


Yes, but it can only produce x64 code; it can't produce x86 code. Mind you, I'd love to be wrong about that...


Sorry, I didn't read your entire comment. The 64-bit linker can produce 32-bit code with /MACHINE:X86.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: