diff options
author | Andrew MacIntyre <andymac@bullseye.apana.org.au> | 2003-07-16 13:31:11 (GMT) |
---|---|---|
committer | Andrew MacIntyre <andymac@bullseye.apana.org.au> | 2003-07-16 13:31:11 (GMT) |
commit | bac1ea937e944a27644777d4522d929890922840 (patch) | |
tree | afa5131692c8d08996a1b2d00b2fa625f24e1449 /PC/os2emx/README.os2emx | |
parent | d24c767d5b3e8bbcfe7c9185f71a954df49c18c3 (diff) | |
download | cpython-bac1ea937e944a27644777d4522d929890922840.zip cpython-bac1ea937e944a27644777d4522d929890922840.tar.gz cpython-bac1ea937e944a27644777d4522d929890922840.tar.bz2 |
More pre-2.3 build tweaks for the OS/2 EMX port:
- more clean up of the generated import library definiton (.DEF file)
following checking of patch 770521, and tightening of the sed regexps.
- use -O3 even with gcc 2.8.1 - worth nearly 10% with 2.3; worth
nothing with 2.2.x.
- clean up a couple of whitespace issues introduced by a cut'n'paste.
Diffstat (limited to 'PC/os2emx/README.os2emx')
-rw-r--r-- | PC/os2emx/README.os2emx | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/PC/os2emx/README.os2emx b/PC/os2emx/README.os2emx index 7201908..b8d2115 100644 --- a/PC/os2emx/README.os2emx +++ b/PC/os2emx/README.os2emx @@ -554,10 +554,15 @@ error. I have not attempted to compile Python with any version of gcc prior to v2.8.1. -While gcc supports more aggressive optimisation than I use, a lot of -benchmarking indicates that Python's performance is at best only -marginally improved by more aggressive optimisation, at least on my -hardware (AMD Athlon 1.4GHz, VIA C3 800MHz). +This release sees the default optimisation change to +"-O3 -fomit-frame-pointer". This works fine too for pgcc 2.95 but not +for gcc 3.2.1. + +With gcc 3.2.1, -O3 causes 2 unexpected test failures: test_format and +test_unicode. Both these tests pass if -O2 is instead of -O3 with this +compiler, and the performance difference is negligible (in contrast to +gcc 2.8.1 and pgcc 2.95, where the performance difference between the +2 optimisation settings approaches 10%). 17. os.spawnv() and os.spawnve() expose EMX's library routines rather than use the emulation in os.py. |