]> granicus.if.org Git - python/commitdiff
Added Jeff Rush' comments
authorGuido van Rossum <guido@python.org>
Sat, 22 Nov 1997 21:58:14 +0000 (21:58 +0000)
committerGuido van Rossum <guido@python.org>
Sat, 22 Nov 1997 21:58:14 +0000 (21:58 +0000)
PC/readme.txt

index d6cd8fd600c51c6b1a393a97003819b02500c4a8..1933a135eecacaabcecb48e017df7632b0e71c08 100644 (file)
@@ -192,3 +192,42 @@ wat_dos     A 32-bit extended DOS Python (console-mode) using the
 \r
 wat_os2     A 32-bit OS/2 Python (console-mode).\r
             Sockets are not included.\r
+\r
+IBM VisualAge C/C++ for OS/2\r
+============================\r
+\r
+To build Python for OS/2, change into ./os2vacpp and issue an\r
+'NMAKE' command.  This will build a PyCore15.dll containing the\r
+set of Python modules listed in config.c and a small Python.exe\r
+to start the interpreter.\r
+\r
+During the build process you will see a couple of harmless warnings:\r
+\r
+  From the C Compiler, "No function prototype given for XXX", which\r
+  comes from the use of K&R parameters within Python for portability.\r
+\r
+  From the ILIB librarian, "Module Not Found (XXX)", which comes\r
+  from its attempt to perform the (-+) operation, which removes and\r
+  then adds a .OBJ to the library.  The first time a build is done,\r
+  it obviously cannot remove what is not yet built.\r
+\r
+This build includes support for most Python functionality as well\r
+as TCP/IP sockets.  It omits the Posix ability to 'fork' a process\r
+but supports threads using OS/2 native capabilities.  I have tried\r
+to support everything possible, even popen() to run a child process\r
+and communicate with it via a pipe.\r
+\r
+With respect to the environment variables for Python, I use the\r
+following setup:\r
+\r
+    Set PYTHONHOME=E:\Tau\Projects\Python\r
+    Set PYTHONPATH=.;E:\Tau\Projects\Python\Lib; \\r
+                     E:\Tau\Projects\Python\Lib\Plat-OS2\r
+\r
+If you have questions or problems specifically with the VAC++ port\r
+of Python, please contact me at:\r
+\r
+    Jeff Rush <jrush@summit-research.com>.\r
+\r
+I support no other platform but OS/2 (and eventually AmigaDOS).\r
+\r