@@ -291,7 +291,7 @@ \subsection{How building works}
291291OS/hardware platform and Python version. The first form, with just a
292292\file {lib} directory, is used for `` pure module distributions'' ---that
293293is, module distributions that include only pure Python modules. If a
294- module distribution contains any extensions (modules written in C/C++ ),
294+ module distribution contains any extensions (modules written in C/\Cpp ),
295295then the second form, with two \code {<plat>} directories, is used. In
296296that case, the \file {temp.\filevar {plat}} directory holds temporary
297297files generated by the compile/link process that don't actually get
@@ -434,15 +434,14 @@ \subsection{Using non-Microsoft compilers on Windows \label{non-ms-compilers}}
434434\subsubsection {Borland C++ }
435435
436436This subsection describes the necessary steps to use Distutils with the
437- Borland C++ compiler version
438- 5.5.\footnote {Check
437+ Borland \Cpp {} compiler version 5.5.\footnote {Check
439438\url {http://www.borland.com/bcppbuilder/freecompiler/} for download}
440439% Should we mention that users have to create cfg-files for the compiler
441440% see also http://community.borland.com/article/0,1410,21205,00.html
442441
443442First you have to know that the Borland's object file format(OMF) is
444443different from what is used by the Python version you can download
445- from the Python web site. (Python is built with Microsoft Visual C++ ,
444+ from the Python web site. (Python is built with Microsoft Visual \Cpp ,
446445which uses COFF as object file format.) For this reason you have to
447446convert Python's library \file {python20.lib} into the Borland format.
448447You can do this as follows:
@@ -456,8 +455,8 @@ \subsubsection{Borland C++}
456455installation. If your extension uses other libraries (zlib,...) you
457456have to convert them too.
458457
459- The converted files have to reside in the same directories as the normal
460- libraries do .
458+ The converted files have to reside in the same directories as the
459+ normal libraries .
461460
462461How does Distutils manage to use these libraries with their changed
463462names? If the extension needs a library (eg. \file {foo}) Distutils
@@ -467,7 +466,7 @@ \subsubsection{Borland C++}
467466(\file {foo.lib}.)\footnote {This also means you could replace all
468467existing COFF-libraries with OMF-libraries of the same name.}
469468
470- To let Distutils compile your extension with Borland C++ you now have
469+ To let Distutils compile your extension with Borland \Cpp {} you now have
471470to type:
472471
473472\begin {verbatim }
@@ -484,22 +483,23 @@ \subsubsection{Borland C++}
484483\subsubsection {GNU C / Cygwin / MinGW32 }
485484
486485This section describes the necessary steps to use Distutils with the
487- GNU C/C++ compilers in their Cygwin and MinGW32
488- distributions\footnote {Check
486+ GNU C/\Cpp {} compilers in their Cygwin and MinGW32
487+ distributions. \footnote {Check
489488\url {http://sources.redhat.com/cygwin/} and
490- \url {http://www.mingw.org} for more information}.
489+ \url {http://www.mingw.org} for more information}
491490
492491\XXX {For a Python which was built with Cygwin, all should work without
493492any of these following steps.}
494493
495494For these compilers we have to create some special libraries too.
496- This task is more complex as for Borland's C++, because there is no
497- program to convert the library (inclusive the references on data structures.)
495+ This task is more complex as for Borland's \Cpp , because there is no
496+ program to convert the library (inclusive the references on data
497+ structures.)
498498
499499First you have to create a list of symbols which the Python DLL exports.
500500(You can find a good program for this task at
501501\url {http://starship.python.net/crew/kernr/mingw32/Notes.html}, see at
502- PExports 0.42h there.)
502+ PExports 0.42h there.)
503503
504504\begin {verbatim }
505505pexports python20.dll >python20.def
0 commit comments