Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 42119e4

Browse files
committed
Fix a few minor markup nits.
1 parent f585bef commit 42119e4

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

Doc/inst/inst.tex

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ \subsection{How building works}
291291
OS/hardware platform and Python version. The first form, with just a
292292
\file{lib} directory, is used for ``pure module distributions''---that
293293
is, 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),
295295
then the second form, with two \code{<plat>} directories, is used. In
296296
that case, the \file{temp.\filevar{plat}} directory holds temporary
297297
files 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

436436
This 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

443442
First you have to know that the Borland's object file format(OMF) is
444443
different 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,
446445
which uses COFF as object file format.) For this reason you have to
447446
convert Python's library \file{python20.lib} into the Borland format.
448447
You can do this as follows:
@@ -456,8 +455,8 @@ \subsubsection{Borland C++}
456455
installation. If your extension uses other libraries (zlib,...) you
457456
have 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

462461
How does Distutils manage to use these libraries with their changed
463462
names? 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
468467
existing 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
471470
to type:
472471

473472
\begin{verbatim}
@@ -484,22 +483,23 @@ \subsubsection{Borland C++}
484483
\subsubsection{GNU C / Cygwin / MinGW32}
485484

486485
This 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
493492
any of these following steps.}
494493

495494
For 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

499499
First 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}
505505
pexports python20.dll >python20.def

0 commit comments

Comments
 (0)