简体   繁体   English

在x64机器上制作x86 .exe

[英]Making a x86 .exe on a x64 machine

and thank you for your answer in advance. 并感谢您的提前答复。 I am making a python program to automate something for my friend, and converted it into a .exe file with cx_Freeze so I could give it to him. 我正在为自己的朋友制作一个python程序来自动执行某些操作,并使用cx_Freeze将其转换为.exe文件,以便可以将其提供给他。 But I have a x64 machine and he has a x86 machine. 但是我有一台x64机器,而他有一台x86机器。 Can anyone please tell me how to make a x86 .exe file on my PC. 谁能告诉我如何在PC上制作x86 .exe文件。 I'm using Win 10 x64 and Python 3.6 我正在使用Win 10 x64和Python 3.6

The .exe output actually depends on the installation you are using (I'm assuming x64) so if you used an x86bit or x32bit Python installation it will output the bit version your installation is (I know both will run on x64 computers) and just freeze in the normal way. .exe输出实际上取决于您使用的安装(我假设是x64),因此,如果您使用的是x86bit或x32bit Python安装,它将输出您安装的位版本(我知道两者都将在x64计算机上运行),并且以正常方式冻结。

Bear in mind that x32 works on x86, x64 as well so you might do best with that bit version. 请记住,x32也可以在x86,x64上运行,因此您最好使用该位版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM