64位编译与visual studio express 2013 [英] 64bit compilation with visual studio express 2013
问题描述
我的IDE是Visual Studio 2013 Express for Windows Desktop
/ p>我找不到一个清楚的答案,任何人都有解决方案。
-
从命令行加载交叉编译器:
调用%VSDIR%\VC \vcvarsall.bat x86_amd64
-
打开解决方案
%VSDIR%\Common7\IDE \WDExpress.exe solution.sln
就是这样。
x86_amd64切换到产生64位代码指令的编译器(恰好是一个32位程序)。所以编译器本身绑定到2Go内存,但是生成的程序没有这个限制。
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 ?
From command line, load the cross-compiler :
call %VSDIR%\VC\vcvarsall.bat x86_amd64
Open solution
%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.
这篇关于64位编译与visual studio express 2013的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!