mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Possible to include Python while cross compil


From: Tony Theodore
Subject: Re: [Mingw-cross-env-list] Possible to include Python while cross compiling?
Date: Tue, 19 Apr 2016 14:29:00 +1000

Hi John,

> On 19 Apr 2016, at 03:13, John Klimek <address@hidden> wrote:
> 
> I'm trying to cross-compile VapourSynth (www.vapoursynth.com) using MXE and 
> I'm having some problems because VapourSynth requires Python 3.4.
> 
> Does anybody have any tips for me?  Do I need to actually compile Python 
> itself using MXE first?  (that was also giving me errors)
> 
> I just want VapourSynth compiled into a win32 dll and then on my target 
> system I will install the Python 3.4 dlls as well, etc.

Cross-compiling python seems to involve a lot of patching [1,2,3] and it looks 
pretty daunting to maintain. I think it may be easier to use an existing python 
installation - gcc should be able to use the MSVC libraries without too much 
hassle (though there’s probably some reason people have tried cross-compiling 
it before). I haven’t attempted that so can’t offer any tips.

Cheers,

Tony


[1] https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-python3
[2] https://github.com/niXman/mingw-builds/tree/master/patches/Python3
[3] https://github.com/schloegl/mxe




reply via email to

[Prev in Thread] Current Thread [Next in Thread]