How to compile Python 1.0

吃可爱长大的小学妹 提交于 2019-12-06 10:12:56
Can Berk Güder

Python 1.0.1 compiles perfectly under Ubuntu 8.10 using GCC 4.3.2. It should compile under Leopard, too.

Download the source here, and compile the usual way:

./configure
make

UPDATE: I tested it, and it compiles under Leopard, too.

Going further backwards in time, I pulled the 0.9.1p1 source from alt.sources via Google Groups' archive. That's 18+ year old code!

I made a few changes (documented in README.reconstructed) to get it to compile on my OS 10.4 box. Source available for your enjoyment. I've also sent email to python.org maintainers to see if they want a copy of it.

It doesn't compile cleanly. There are some warnings, mostly to do lack of prototypes. But it does work.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!