[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] Boost.Python extension (cmake)
From: |
Alois Schlögl |
Subject: |
Re: [Mingw-cross-env-list] Boost.Python extension (cmake) |
Date: |
Wed, 06 Feb 2013 07:33:23 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20121215 Iceowl/1.0b1 Icedove/3.0.11 |
On 02/05/2013 07:01 PM, 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
>
I've started to compile python in my clone of the mxe repo.
https://github.com/schloegl/mxe.git
It compiles parts of python but stops when trying to start the parser
generator pgen.exe. This site
http://randomsplat.com/id5-cross-compiling-python-for-embedded-linux.html
seems to address that problem.
Alois