June 5, 1995. I've built Python 1.2 on DOS. That means - makefiles, etc for Borland C++ 3.1. I'm including in this package dosmodule.c and pcmodule.c (both from dosbuild.tar.gz found at ftw.cwi.nl) since I found minor bugs (well - more of a spelling mistakes, really) in them. I've created a config.h and config.c files to be used with Borland C++ 3.1. BUILDING: -------- - Change the makefiles to suite youself (that means - directories). - Run make.bat that's it. make will also work with make clean. You can also try make install etc. but I don't promise anything. PROBLEMS: -------- Also included are makefile, and 2 batch files to build the package. Well - the makefiles look like hell for a two reasons : 1. I don't have time to do something better 2. DOS ... A few words on the DOS problem: - DOS can accept a maximum of 128 bytes at command line. Quite a problem. I've solved it in quite an ugly way: - for TLIB I've split the OBJS line into more parts - later I've discovered I can use a "@" (at) sign and pass a file. I've used this method to link the exe. This isn't pretty, but's better than the previous. I'll move to this solution when I have time. - DOS batch language sucks. Mainly - "for" can only have one parameter. Hench - I need a batch file to call. - Borland's make won't recurse. I've created a batch file called MAKE.BAT which makes all sub directories. Ok. That's it. I'm not sure I'll do anything else about it, but if you have problems, give me a call. Sunny Marueli sunny@math.tau.ac.il