开发者

Compile for x64 with Visual Studio?

Question: Assume a C开发者_Go百科++ hello world program, non .NET. With Visual Studio 2005/2008/2010, how can I compile a 64-Bit application ? I have a 64 Bit Windows, but by default, VS seems to compile 32 bit executables...

On Linux with g++, I can use -m32 and -m64, but how can I compile a 64 bit solution with Windows ? Is it even possible with 2005 ? Or does one need 2008 or even 2010 Beta, or even some x64 SDK ?


There is a step-by-step instructions by Microsoft: http://msdn.microsoft.com/en-us/library/9yb4317s.aspx


It sounds like it may just be that you haven't set the correct target. It is possible to also build x64 applications on an x86 using the cross compiler tools.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜