windows 有没有办法在 32 位计算机上执行 64 位程序?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/7206675/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Is there any way to execute 64-bit programs on a 32-bit computer?
提问by Matteo Monti
Just a simple question: Is there any way to run a program compiled under a 64 bit Windows environment (with mingw64) on a 32 bit machine? Any DLL or any compatibility layer which I can use?
只是一个简单的问题:有没有什么办法可以在32位机器上运行在64位Windows环境(使用mingw64)下编译的程序?我可以使用任何 DLL 或任何兼容层?
回答by Chris Thornton
If you are talking about a 32-bit processor, then no. But if you are running a 32-bit OS on 64-bit hardware, then you can do it with VMWare. A 64-bit guest can run on a 32-bit host, if the hardware supports it.
如果您在谈论 32 位处理器,那么不是。但是如果您在 64 位硬件上运行 32 位操作系统,那么您可以使用 VMWare 来实现。如果硬件支持,64 位客户机可以在 32 位主机上运行。
回答by Harry Johnston
Bochs should do the trick, but you'd need another copy of Windows to run in the virtual machine. (Some editions of Windows include additional licenses for virtual machines, so you might be in luck.)
Bochs 应该可以解决问题,但是您需要另一个 Windows 副本才能在虚拟机中运行。(某些版本的 Windows 包含额外的虚拟机许可证,因此您可能很幸运。)
Performance would probably be very poor.
性能可能会很差。
回答by David Heffernan
No you cannot do this. The other direction is possible through an emulator, e.g. on Windows it is called WOW64.
不,你不能这样做。另一个方向可以通过模拟器实现,例如在 Windows 上它被称为 WOW64。
It is standard practise on platforms that still have large install base of the 32-bit versions of the OS to ship either just a 32-bit version, or both 32- and 64-bit versions.
在仍然具有大量 32 位版本操作系统安装基础的平台上,标准做法是仅提供 32 位版本,或同时提供 32 位和 64 位版本。
回答by Tel
I can recommend VirtualBoxfor this purpose, you can download the free version and it's easier to use than VMWare. However you will need a 64bit installation CDROM, and storage space for a full system install, and if you are installing Microsoft Windows they will expect you to pay for a license key.
为此我可以推荐VirtualBox,您可以下载免费版本,它比 VMWare 更易于使用。但是,您将需要 64 位安装 CDROM 和用于完整系统安装的存储空间,如果您正在安装 Microsoft Windows,他们将要求您支付许可证密钥。
Also your CPU needs to support both 64 bit mode in the hardware, and the vt-X/AMD-V features (most of them do). It's a bit slower, although mostly that seems to be the display that slows it down, not the internal program calculations. This is NOT an emulation, the CPU is really running native 64 bit, but VirtualBox fakes the hardware devices (display, disk, network, etc) so the result is not as nice as running normally. 3D graphics acceleration is available, but it has limitations.
此外,您的 CPU 需要支持硬件中的 64 位模式和 vt-X/AMD-V 功能(大多数都支持)。它有点慢,尽管主要似乎是显示减慢了它的速度,而不是内部程序计算。这不是模拟,CPU 确实运行本机 64 位,但 VirtualBox 伪造硬件设备(显示器、磁盘、网络等),因此结果不如正常运行。3D 图形加速是可用的,但它有局限性。
An easier option is simply to hire an online Virtual Machineby searching for someone offering 64 bit versions of Windows Server (there are plenty). Usually they will offer connection over Remote Desktop, typically you can pay by the month. Upload your programs, run what you want, then delete it when you are finished and cancel the service. The service provider handles installation, licensing, hardware, etc.
一个更简单的选择是通过搜索提供 64 位 Windows Server 版本的人(有很多)来租用在线虚拟机。通常他们会通过远程桌面提供连接,通常您可以按月付款。上传您的程序,运行您想要的程序,然后在完成后将其删除并取消服务。服务提供商处理安装、许可、硬件等。
回答by hjkf
hey that was a problem that gave me a headache for a while but i solved it. I had windows 10 32 bit but when i opened system in control panel it said that "32 bit architecture, 64 bit processor." lookup some websites and your hardware must have a few things which you can check in CPU-Z( lookup some webpages for this) its necessary. Then export your folders,documents, softwares in an external hard drive..now download the windows 10 64 bit iso file and boot it.ands viola! you got 64 bit architecture ( i also recommend upgrading ram atleast minimum 4 gb) or the other way is to install 64 bit guest in VMware ir another virtual machine software...gud luck
嘿,这是一个让我头痛了一段时间的问题,但我解决了。我有 Windows 10 32 位,但是当我在控制面板中打开系统时,它说“32 位架构,64 位处理器”。查找一些网站,你的硬件必须有一些你可以在 CPU-Z 中检查的东西(为此查找一些网页)它是必要的。然后将您的文件夹、文档、软件导出到外部硬盘驱动器中。现在下载 Windows 10 64 位 iso 文件并启动它。还有中提琴!你有 64 位架构(我也建议至少升级 ram 至少 4 gb)或者另一种方法是在 VMware 中安装 64 位客户机 ir 另一个虚拟机软件......祝你好运
回答by Madhur Ahuja
No, It is not possible...........
不,这不可能…………