I’ve noticed that when I compile a 64-bit program from Visual Studio 2008, the compiler that runs is in the bin\x86_amd64 folder, not from the bin\amd64 folder — even though both of them exist.
Is there any way to force the 64-bit compiler to run instead of the cross-compiler?
go to
Tools->Options->Projects and Solutions->VC++ Directories, then selectx64for platform and selectExecutable Files. This list is like a PATH environment variable for everything started from within VS, including compiler/linker/debugger etc.Normally the first line will be
so changing this to
will pick cl.exe etc from that directory instead.