|
Original |
Translation |
|
207
|
coff2omf python25.lib python25_bcpp.lib
|
|
|
208
|
The :file:`coff2omf` program comes with the Borland compiler. The file :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.
|
|
|
209
|
The converted files have to reside in the same directories as the normal libraries.
|
|
|
210
|
How does Distutils manage to use these libraries with their changed names? If the extension needs a library (eg. :file:`foo`) Distutils checks first if it finds a library with suffix :file:`_bcpp` (eg. :file:`foo_bcpp.lib`) and then uses this library. In the case it doesn't find such a special library it uses the default name (:file:`foo.lib`.) [#]_
|
|
|
211
|
|
212
|
python setup.py build --compiler=bcpp
|
|
|
213
|
If you want to use the Borland C++ compiler as the default, you could specify this in your personal or system-wide configuration file for Distutils (see section :ref:`inst-config-files`.)
|
|
|
214
|
|
|
|
215
|
Information about the free C++ compiler from Borland, including links to the download pages.
|
|
|
216
|
Document describing how to use Borland's free command-line C++ compiler to build Python.
|
|