Modify ↓
Ticket #396 (closed defect: fixed)
OSX bootloader in 1.5.1 release is 64 bit
| Reported by: | glennr | Owned by: | matysek |
|---|---|---|---|
| Priority: | normal | Milestone: | PyInstaller 1.5.2 |
| Component: | Loader | Version: | 1.5.1 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
glenn@mbp~$ tar xjf Downloads/pyinstaller-1.5.1.tar.bz2 glenn@mbp~$ cd pyinstaller-1.5.1 glenn@mbp~/pyinstaller-1.5.1$ find support/loader | xargs file support/loader: directory support/loader/Darwin-32bit: directory support/loader/Darwin-32bit/run: Mach-O 64-bit executable x86_64 support/loader/Darwin-32bit/run_d: Mach-O 64-bit executable x86_64 support/loader/Darwin-32bit/runw: Mach-O 64-bit executable x86_64 support/loader/Darwin-32bit/runw_d: Mach-O 64-bit executable x86_64
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

I hacked my copy to fix this by adding this to source/wscript in the 4 relevant places:
if myplatform.startswith('darwin'): conf.env.append_value('CCFLAGS', '-m32') conf.env.append_value('LINKFLAGS', '-arch') conf.env.append_value('LINKFLAGS', 'i386')