Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Py2exe - Compile exe for 32 bit and 64 bit

I've been researching a bit, but need a bit of advice specifically for Py2exe apps. I'm on a 64 bit machine, but from what I understand I can compile in 32 bit format, and run on both 32 and 64 bit.

Now my question. To make an exe, I'm using py2exe. So from what I understand, you don't need a 32 bit environment, just a 32 bit compiler which means 32 bit Py2exe? So if I delete Py2exe and reinstall the 32 bit version of py2exe, it will run on both? Are there any other precautions I need to take?

Thanks so much.

like image 826
User Avatar asked Dec 24 '13 00:12

User


1 Answers

Technically 32x/86x can be used on 64x, but when I used to fiddle around with running 64x on 32x/86x, it crashed the computer, so nothing really just use the 32x/86x compiler. So, 64x programs are one way but 32x/86x are not:

  • 64x program -> 64x computer
  • 32x/86x program -> 32x/86x computer
  • 32x/86x program -> 64x computer

Long story short: just use Py2Exe 32x/86x.

like image 151
Cold Diamondz Avatar answered Sep 20 '22 22:09

Cold Diamondz