Changes between Version 3 and Version 4 of Packages/Python


Ignore:
Timestamp:
06/25/17 23:22:32 (7 years ago)
Author:
Chris Johns
Comment:

Update URL to patches and script formatting.

Legend:

Unmodified
Added
Removed
Modified
  • Packages/Python

    v3 v4  
    3030
    3131 * Fetch the Python source code from the Python web site.
    32  * Fetch the Python patch from the RTEMS web site (ftp://ftp.rtems.org/pub/rtems/4.6.99.2/contrib/python).
     32 * Fetch the Python patch from the RTEMS web site (https://ftp.rtems.org/pub/rtems/releases/4.7/4.7.0/contrib/python/).
    3333 * Unpack the Python source.
    3434 * Perform a native build for the build machine outside the Python source tree. We need to create a local program call ''pgen''. Python does not cross-compile out of the box and so a simple work around is to build Python for the local machine first and reference it. The ''pgen'' program is not used in the cross-compile for RTEMS but no reference results in it trying to be cross-compiled and run which will not succeed.
     
    104104The script does not build in unicode support into Python. If you require unicode support you need remove ''--disable-unicode'' from the configure command line and place the unicode modules into the Modules list the script contains. Unicode is disabled as it contains a number of large 64K byte tables. These are not correctly declared as ''const'' so end up in the executable and then in the data space.
    105105
    106 
     106{{{
    107107 #! /bin/sh
    108108 #
     
    226226 
    227227 exit 0
     228}}}