Changes between Version 3 and Version 4 of Packages/Python
- Timestamp:
- 06/25/17 23:22:32 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Packages/Python
v3 v4 30 30 31 31 * 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/). 33 33 * Unpack the Python source. 34 34 * 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. … … 104 104 The 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. 105 105 106 106 {{{ 107 107 #! /bin/sh 108 108 # … … 226 226 227 227 exit 0 228 }}}