Reputation: 196
I have to compile a C++ project and make it run as 64bit application to avoid the 32bit memory limitation.
My IDE is Visual Studio 2013 Express for Windows Desktop
I couldn't find a clear answer on how to do this, anybody has a solution ?
Upvotes: 1
Views: 1247
Reputation: 196
call %VSDIR%\VC\vcvarsall.bat x86_amd64
%VSDIR%\Common7\IDE\WDExpress.exe solution.sln
and that's it.
The x86_amd64
switch to a compiler (which happens to be a 32bit program) that produces 64bit code instructions. So the compiler itself is bound to 2Go memory, but the resulting program does not have this limitation.
Upvotes: 1