summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/bcppcompiler.py
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace normalization.Fred Drake2001-12-061-16/+16
|
* [Patch #441691] preprocess() method for Borland C compiler.Andrew M. Kuchling2001-08-161-1/+35
| | | | I have no way of testing this.
* Import UnknownFileErrorAndrew M. Kuchling2001-08-091-1/+1
|
* String method conversion.Eric S. Raymond2001-02-091-1/+1
| | | | (This one was trivial -- no actual string. references in it!)
* Big patch from Rene Liebscher to simplify the CCompiler API andGreg Ward2000-09-271-140/+123
| | | | | | | | | | | | | | | | | | | | 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
* Rene Liebscher:Greg Ward2000-09-011-13/+13
| | | | | | * reverse library names from bcpp_library to library_bcpp * move some code to the right places, to put the def-files in the right directories again
* Added a whinging comment about the ugliness of constructing the BCPPGreg Ward2000-08-131-0/+10
| | | | argument list.
* Rene Liebscher:Greg Ward2000-08-131-4/+3
| | | | | | * changed some list.extend([...]) to list.append(...) * added '/g0' to compiler_options, so compiler doesn't stop after 100 warnings
* Rewrote 'find_library_file()' much more cleanly (and consistently withGreg Ward2000-08-041-18/+16
| | | | | MSVCCompiler's version, to aid in factoring common code out of the two classes when the time comes).
* Patch from Rene Liebscher. Some ugly changes, but supposedly this makesGreg Ward2000-08-021-29/+70
| | | | | | | | | | | | | it so BCPPCompiler actually works, so I'm provisionally accepting it -- ugly and working is better than not working! Major changes: - normalize paths (apparently BC++ doesn't like slashes) - overhauled how we search for and specify libraries on the linker command-line - hacked up 'find_library_file()' so it knows about "debug" library naming convention as well as "bcpp_xxx.lib" -- the question is, is this a well-established and sensible convention? Also: - change to use 'util.write_file()' to write the .def file
* Lyle Johnson's interface to Borland C++, with a few editorial comments by me.Greg Ward2000-06-281-0/+344
Two major points: * lots of overlap with MSVCCompiler; the common code really should be factored out into a base class, say WindowsCCompiler * it doesn't work: weird problem spawning the linker (see comment for details)