VS的 x86_64 , x64_86 , x64 , x86 有什么区别

发布时间 2023-07-30 15:00:55作者: Icys

x86 Native Tools Command Prompt - Sets the environment to use 32-bit, x86-native tools to build 32-bit, x86-native code.
x64 Native Tools Command Prompt - Sets the environment to use 64-bit, x64-native tools to build 64-bit, x64-native code.
x86_x64 Cross Tools Command Prompt - Sets the environment to use 32-bit, x86-native tools to build 64-bit, x64-native code.
x64_x86 Cross Tools Command Prompt - Sets the environment to use 64-bit, x64-native tools to build 32-bit, x86-native code.

翻译成人话就是

x86 用32位的编译器编译出32位程序
x64 用64位的编译器编译出64位程序
x86_x64 用32位的编译器编译出64位程序
x64_x86 用64位的编译器编译出32位程序