"Gabriel Genellina" <[EMAIL PROTECTED]> writes: > En Wed, 13 Jun 2007 17:35:19 -0300, Paul McNett <[EMAIL PROTECTED]> escribió: > >> Tempo wrote: >>> Has anyone sucesfully built a *.exe file on a mac operating system >>> before from a *.py file? I have been trying to do this with >>> pyinstaller, but I keep getting errors and I don't know how to >>> install [...] >> >> You need to build Mac Apps on Mac, Windows EXE's on Windows, and Linux >> ELF's on Linux. You can't build a windows.exe from Mac, just as you >> can't build a mac.app from Windows. > > That's not entirely true. gcc on linux can generate a Windows EXE, and > using: python setup.py bdist_wininst, you can generate a complete > binary installer for Windows. I'm not sure if this can be done on a > Mac too.
In principle, certainly - there's even a MacPort package for a complete cygwin installation. I've built a number of packages with it - SDL and several related libraries, for instance. There are also ELF cross-compiler MacPort packages, presumably for building Linux binaries. On the other hand, I *haven't* tried any of those compilers with setup.py, and I have no idea if it can support those targets in practice. :-( sherm-- -- Web Hosting by West Virginians, for West Virginians: http://wv-www.net Cocoa programming in Perl: http://camelbones.sourceforge.net -- http://mail.python.org/mailman/listinfo/python-list