编译用于基于x64的Visual Studio? [英] Compile for x64 with Visual Studio?

查看:158
本文介绍了编译用于基于x64的Visual Studio?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问: 假设一个C ++的Hello World程序,非.NET。 与Visual Studio 2005/2008/2010,我怎么可以编译64位应用程序? 我有一个64位的Windows,但默认情况下,VS看起来编译32位可执行文件...

Question: Assume a C++ 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...

在Linux上使用g ++,我可以使用-m32和-m64,但我怎么能编译Windows中的64位解决方案?它甚至有可能与2005年?还是2008年人们不必甚至2010年版,甚至有些64位SDK?

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 ?

推荐答案

有一个一步一步的指导微软:<一href="http://msdn.microsoft.com/en-us/library/9yb4317s.aspx">http://msdn.microsoft.com/en-us/library/9yb4317s.aspx

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

这篇关于编译用于基于x64的Visual Studio?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆