[Python-ideas] CPython needs to revamp/replace it's build system && Cross-compiling Python sucks

anatoly techtonik techtonik at gmail.com
Mon Mar 16 14:43:40 CET 2015


On Fri, Mar 13, 2015 at 10:47 PM, Devin Jeanpierre
<jeanpierreda at gmail.com> wrote:
> On Mon, Mar 9, 2015 at 10:40 AM, Ryan Gonzalez <rymg19 at gmail.com> wrote:
>> I've been trying to work on Issue 23496. And want to tear my hair out. I've
>> noticed a few problems with Python's current build system:
>>
>> - There is no separation of the host C compiler and the target C compiler.
>> When you give configure a C compiler for cross-compiling, make will happily
>> try to build Parser/pgen with the cross-compiler. And try to run the
>> generated executable. And fail. I know you can use `make touch` to get
>> around this, but it still sucks.
>
> I just want to echo this. I had really horrible problems trying to get
> Python working with emscripten a year ago, because of this and other
> problems. (Gave up.)  It turned out emscripten was a bigger cause for
> complaint, but, still.

There is an awesome SCons extension called Parts, but is not integrated
back due to a lack of time and/or funding. Here is the lightning talk:
https://www.youtube.com/watch?v=Ft6-r_vksDI#t=1188

http://parts.stage.tigris.org/
-- 
anatoly t.


More information about the Python-ideas mailing list