|Subject:||Re: [Mingw-cross-env-list] Boost.Python extension (cmake)|
|Date:||Mon, 11 Feb 2013 15:32:10 +0100|
|To:||Václav Šmilauer <firstname.lastname@example.org>|
I actually managed to use 7zip to extract python from the downloadable msi. It works.
This link gave me the way to do it: https://github.com/hobsonlane/pyexiv2/blob/master/cross-compile.sh
Thanks for looking to it anyway.
On 2013-02-05 19:01, Václav Šmilauer wrote:
What would be the appropriate way to cross-compile a boost.python extension, preferably whith the use of cmake?You need to cross-compile python itself first I guess, which is where the problem is - it is an ongoing effort (http://bugs.python.org/issue3754). Once you have cross-compiled python27.dll and headers installed properly in the cross-build env, you might be able to compile boost.python and the extension without big troubles, but I never got that far. Cheers, Vaclav