[Python-checkins] CVS: distutils/distutils ccompiler.py,1.27,1.28 msvccompiler.py,1.31,1.32 unixccompiler.py,1.27,1.28
Greg Ward
python-dev@python.org
2000年6月27日 18:29:11 -0700
Update of /cvsroot/python/distutils/distutils
In directory slayer.i.sourceforge.net:/tmp/cvs-serv21286
Modified Files:
ccompiler.py msvccompiler.py unixccompiler.py
Log Message:
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()'.
Index: ccompiler.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/ccompiler.py,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -r1.27 -r1.28
*** ccompiler.py 2000年06月25日 02:08:18 1.27
--- ccompiler.py 2000年06月28日 01:29:09 1.28
***************
*** 493,497 ****
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
--- 493,496 ----
***************
*** 573,578 ****
debug=0,
extra_preargs=None,
! extra_postargs=None):
!
"""Link a bunch of stuff together to create a shared library file.
Similar semantics to 'create_static_lib()', with the addition of
--- 572,577 ----
debug=0,
extra_preargs=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
***************
*** 625,629 ****
debug=0,
extra_preargs=None,
! extra_postargs=None):
"""Link a bunch of stuff together to create a shared object file.
Much like 'link_shared_lib()', except the output filename is
--- 624,629 ----
debug=0,
extra_preargs=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
***************
*** 815,818 ****
--- 815,820 ----
'mingw32': ('cygwinccompiler', 'Mingw32CCompiler',
"Mingw32 port of GNU C Compiler for Win32"),
+ 'bcpp': ('bcppcompiler', 'BCPPCompiler',
+ "Borland C++ Compiler"),
}
Index: msvccompiler.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/msvccompiler.py,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -r1.31 -r1.32
*** msvccompiler.py 2000年06月25日 02:31:16 1.31
--- msvccompiler.py 2000年06月28日 01:29:09 1.32
***************
*** 1,3 ****
! """distutils.ccompiler
Contains MSVCCompiler, an implementation of the abstract CCompiler class
--- 1,3 ----
! """distutils.msvccompiler
Contains MSVCCompiler, an implementation of the abstract CCompiler class
***************
*** 323,327 ****
debug=0,
extra_preargs=None,
! extra_postargs=None):
self.link_shared_object (objects,
--- 323,328 ----
debug=0,
extra_preargs=None,
! extra_postargs=None,
! build_temp=None):
self.link_shared_object (objects,
***************
*** 334,338 ****
debug=debug,
extra_preargs=extra_preargs,
! extra_postargs=extra_postargs)
--- 335,340 ----
debug=debug,
extra_preargs=extra_preargs,
! extra_postargs=extra_postargs,
! build_temp=build_temp)
***************
*** 347,351 ****
debug=0,
extra_preargs=None,
! extra_postargs=None):
(objects, output_dir) = self._fix_object_args (objects, output_dir)
--- 349,354 ----
debug=0,
extra_preargs=None,
! extra_postargs=None,
! build_temp=None):
(objects, output_dir) = self._fix_object_args (objects, output_dir)
Index: unixccompiler.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/unixccompiler.py,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -r1.27 -r1.28
*** unixccompiler.py 2000年06月25日 02:05:29 1.27
--- unixccompiler.py 2000年06月28日 01:29:09 1.28
***************
*** 75,78 ****
--- 75,79 ----
+
def __init__ (self,
verbose=0,
***************
*** 200,204 ****
debug=0,
extra_preargs=None,
! extra_postargs=None):
self.link_shared_object (
objects,
--- 201,207 ----
debug=0,
extra_preargs=None,
! extra_postargs=None,
! build_temp=None):
!
self.link_shared_object (
objects,
***************
*** 211,215 ****
debug,
extra_preargs,
! extra_postargs)
--- 214,219 ----
debug,
extra_preargs,
! extra_postargs,
! build_temp)
***************
*** 224,228 ****
debug=0,
extra_preargs=None,
! extra_postargs=None):
(objects, output_dir) = self._fix_object_args (objects, output_dir)
--- 228,233 ----
debug=0,
extra_preargs=None,
! extra_postargs=None,
! build_temp=None):
(objects, output_dir) = self._fix_object_args (objects, output_dir)