Berthold Höllmann <[EMAIL PROTECTED]> wrote:

> I try to build installer files that are using VC6 build
> extensions. The executable segfaults very erarly, I gess because of
> the loader for Pyton 2.4 Windows is build using VC7? How do I build
> the loader using VC6?

You need VC6 to build extensions for Python 2.3 and before, and VC7.1 (aka .NET
2003) for Python 2.4 and after. This is mandatory for all the extensions, and
the bootloader has to follow the same rule. If you are trying to use an
extension compiled with VC6 with Python 2.4, you're doing a mistake, and it
will eventually crash (I'd be surprised if it worked in any non-trivial usage).
The solution, if you are using Python 2.4, is to compile everything with VC7.1.

BTW, the bootloader is already precompiled also for VC6: look into
support/loader (the executables with '6' in the name are built with VC6, and
those with '7' in the name are built with VC7). PyInstaller automatically picks
up the one with the right name depending on the Python version you are using.

Giovanni Bajo

_______________________________________________
PyInstaller mailing list
[email protected]
http://lists.hpcf.upr.edu/mailman/listinfo/pyinstaller

Reply via email to