diff options
author | Greg Ward <gward@python.net> | 2000-09-27 02:08:14 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-09-27 02:08:14 (GMT) |
commit | 4240648a9dffd4b8858c7314bce0c2b0af830b06 (patch) | |
tree | be2f38413bf4f1706820da190443e7999535a07d /Lib/pre.py | |
parent | 3ad4e74870e661566392cba0a12b0dc286b59fa7 (diff) | |
download | cpython-4240648a9dffd4b8858c7314bce0c2b0af830b06.zip cpython-4240648a9dffd4b8858c7314bce0c2b0af830b06.tar.gz cpython-4240648a9dffd4b8858c7314bce0c2b0af830b06.tar.bz2 |
Big patch from Rene Liebscher to simplify the CCompiler API and
implementations. Details:
* replace 'link_shared_object()', 'link_shared_lib()', and
'link_executable()' with 'link()', which is (roughly)
the union of the three methods it replaces
* in all implementation classes (UnixCCompiler, MSVCCompiler, etc.),
ditch the old 'link_*()' methods and replace them with 'link()'
* in the abstract base class (CCompiler), add the old 'link_*()'
methods as wrappers around the new 'link()' (they also print
a warning of the deprecated interface)
Also increases consistency between MSVCCompiler and BCPPCompiler,
hopefully to make it easier to factor out the mythical WindowsCCompiler
class. Details:
* use 'self.linker' instead of 'self.link'
* add ability to compile resource files to BCPPCompiler
* added (redundant?) 'object_filename()' method to BCPPCompiler
* only generate a .def file if 'export_symbols' defined
Diffstat (limited to 'Lib/pre.py')
0 files changed, 0 insertions, 0 deletions