[Python-checkins] r45738 - python/trunk/Doc/inst/inst.tex

fred.drake python-checkins at python.org
Thu Apr 27 02:02:26 CEST 2006


Author: fred.drake
Date: Thu Apr 27 02:02:24 2006
New Revision: 45738

Modified:
   python/trunk/Doc/inst/inst.tex
Log:
- update version numbers in file names again, until we have a better way
- elaborate instructions for Cygwin support (closes SF #839709)


Modified: python/trunk/Doc/inst/inst.tex
==============================================================================
--- python/trunk/Doc/inst/inst.tex	(original)
+++ python/trunk/Doc/inst/inst.tex	Thu Apr 27 02:02:24 2006
@@ -981,15 +981,15 @@
 from the Python or ActiveState Web site.  (Python is built with
 Microsoft Visual \Cpp, which uses COFF as the object file format.)
 For this reason you have to convert Python's library
-\file{python24.lib} into the Borland format.  You can do this as
+\file{python25.lib} into the Borland format.  You can do this as
 follows:
 
 \begin{verbatim}
-coff2omf python24.lib python24_bcpp.lib
+coff2omf python25.lib python25_bcpp.lib
 \end{verbatim}
 
 The \file{coff2omf} program comes with the Borland compiler.  The file
-\file{python24.lib} is in the \file{Libs} directory of your Python
+\file{python25.lib} is in the \file{Libs} directory of your Python
 installation.  If your extension uses other libraries (zlib,...) you
 have to convert them too.
 
@@ -1053,17 +1053,23 @@
 PExports 0.42h there.)
 
 \begin{verbatim}
-pexports python24.dll >python24.def
+pexports python25.dll >python25.def
 \end{verbatim}
 
+The location of an installed \file{python25.dll} will depend on the
+installation options and the version and language of Windows.  In a
+``just for me'' installation, it will appear in the root of the
+installation directory.  In a shared installation, it will be located
+in the system directory.
+
 Then you can create from these information an import library for gcc.
  
 \begin{verbatim}
-dlltool --dllname python24.dll --def python24.def --output-lib libpython24.a
+/cygwin/bin/dlltool --dllname python25.dll --def python25.def --output-lib libpython25.a
 \end{verbatim}
 
 The resulting library has to be placed in the same directory as 
-\file{python24.lib}. (Should be the \file{libs} directory under your
+\file{python25.lib}. (Should be the \file{libs} directory under your
 Python installation directory.)
 
 If your extension uses other libraries (zlib,...) you might 


More information about the Python-checkins mailing list