best gcc version for Python

Christian Heimes lists at cheimes.de
Sun Nov 16 10:00:06 EST 2008


Robin Becker wrote:
> I've just been testing out Jakob Sievers' speedup of Python 2.5.2 by 
> compiling on freebsd with gcc-4.3.3 (the standard freebsd 6.1 gcc is 
> 3.4.4).
> 
> I'm glad to say that his modification did improve pybench overall by 
> about 12%, but during the testing I noticed that in fact some of the 
> pybench results were much worse using gcc-4.3.3 compared to gcc-3.4.4.

I recall some issues with gcc 4.3 during the development of Python 2.6. 
We had to add some flags to compile Python correctly. Python 2.5 may not 
be compatible with 4.3.

Christian




More information about the Python-list mailing list