summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2006-04-27 00:02:24 +0000
committerFred Drake <fdrake@acm.org>2006-04-27 00:02:24 +0000
commitdbb8c4123f43ca298e55887a0516fde459583700 (patch)
treed72db94d2e75fac3e81a6bc4cdf1ff04ba75c2d3
parent0999433f4003a8e5713c3d2c1e3980fd822ba65e (diff)
downloadcpython-git-dbb8c4123f43ca298e55887a0516fde459583700.tar.gz
- update version numbers in file names again, until we have a better way
- elaborate instructions for Cygwin support (closes SF #839709)
-rw-r--r--Doc/inst/inst.tex18
1 files changed, 12 insertions, 6 deletions
diff --git a/Doc/inst/inst.tex b/Doc/inst/inst.tex
index 0697d05969..676f8ae286 100644
--- a/Doc/inst/inst.tex
+++ b/Doc/inst/inst.tex
@@ -981,15 +981,15 @@ different from the format used by the Python version you can download
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 @@ First you have to create a list of symbols which the Python DLL exports.
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