diff options
author | Greg Ward <gward@python.net> | 2000-06-28 01:29:09 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-06-28 01:29:09 (GMT) |
commit | bfc79d644adff429c51c90c21a0126d2ab983b32 (patch) | |
tree | b06a950dae9696a8bffbc3ea8350bf17fd8c7e32 /Lib/distutils/ccompiler.py | |
parent | 7d9c705b234ad2ad013db1649e5fd2ffc2a59a75 (diff) | |
download | cpython-bfc79d644adff429c51c90c21a0126d2ab983b32.zip cpython-bfc79d644adff429c51c90c21a0126d2ab983b32.tar.gz cpython-bfc79d644adff429c51c90c21a0126d2ab983b32.tar.bz2 |
Lyle Johnson: added 'build_temp' parameter to 'link_shared_{lib,object}()'
methods (but not 'link_executable()', hmmm). Currently only used by
BCPPCompiler; it's a dummy parameter for UnixCCompiler and MSVCCompiler.
Also added 'bcpp' to compiler table used by 'new_compiler()'.
Diffstat (limited to 'Lib/distutils/ccompiler.py')
-rw-r--r-- | Lib/distutils/ccompiler.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Lib/distutils/ccompiler.py b/Lib/distutils/ccompiler.py index e97c977..20a5191 100644 --- a/Lib/distutils/ccompiler.py +++ b/Lib/distutils/ccompiler.py @@ -492,7 +492,6 @@ class CCompiler: debug=0, extra_preargs=None, extra_postargs=None): - """Compile one or more source files. 'sources' must be a list of filenames, most likely C/C++ files, but in reality anything that can be handled by a particular compiler and compiler class @@ -572,8 +571,8 @@ class CCompiler: export_symbols=None, debug=0, extra_preargs=None, - extra_postargs=None): - + extra_postargs=None, + build_temp=None): """Link a bunch of stuff together to create a shared library file. Similar semantics to 'create_static_lib()', with the addition of other libraries to link against and directories to search for them. @@ -624,7 +623,8 @@ class CCompiler: export_symbols=None, debug=0, extra_preargs=None, - extra_postargs=None): + extra_postargs=None, + build_temp=None): """Link a bunch of stuff together to create a shared object file. Much like 'link_shared_lib()', except the output filename is explicitly supplied as 'output_filename'. If 'output_dir' is @@ -814,6 +814,8 @@ compiler_class = { 'unix': ('unixccompiler', 'UnixCCompiler', "Cygwin port of GNU C Compiler for Win32"), 'mingw32': ('cygwinccompiler', 'Mingw32CCompiler', "Mingw32 port of GNU C Compiler for Win32"), + 'bcpp': ('bcppcompiler', 'BCPPCompiler', + "Borland C++ Compiler"), } def show_compilers(): |