Copying a compiled Python from one system to another

Ned Deily nad at python.org
Thu Oct 6 12:08:54 EDT 2016


On 2016-10-06 11:04, Steve D'Aprano wrote:
> On Fri, 7 Oct 2016 01:36 am, Ned Deily wrote: 
>> On 2016-10-02 00:25, Steve D'Aprano wrote:
>>> On Sun, 2 Oct 2016 01:58 pm, Chris Angelico wrote:
>>>> Hmm, I've possibly missed something here, which may indicate a
>>>> problem. Why can't your existing machines build? Is it because they
>>>> have too-old versions of tools, and if so, which?
>>> Yes, this. You need gcc 4.8 or better to build CPython 3.6, and the most
>>> recent any of my systems support is 4.4.
>>
>> I'm using a gcc 4.2 to build 3.6.
> 
> How on earth do you do that? What magic incantations are you using?
> 
> I understand that Python 3.6 is now using C99 features that aren't available
> before gcc 4.8.

3.6 is only using a subset of the C99 features that were proposed in the
earlier python-dev discussion.  In this case, I am using the Apple
version of GNU gcc-4.2 that shipped with Xcode 3 on OS X 10.5 and 10.6.
I haven't tried it with other versions of gcc-4.2 but it's worth trying.






More information about the Python-list mailing list