83abccbbc0d6935f889391c09ab990a5c221a6c4 |
|
24-Feb-2016 |
Ned Deily <nad@python.org> |
Issue #25136: Support Apple Xcode 7's new textual SDK stub libraries. As of Xcode 7, SDKs for Apple platforms now include textual-format stub libraries whose file names have a .tbd extension rather than the standard OS X .dylib extension. The Apple compiler tool chain handles these stub libraries transparently and the installed system shared libraries are still .dylibs. However, the new stub libraries cause problems for third-party programs that support building with Apple SDKs and make build-time decisions based on the presence or paths of system-supplied shared libraries in the SDK. In particular, building Python itself with an SDK fails to find system-supplied libraries during setup.py's build of standard library extension modules. The solution is to have find_library_file() in Distutils search for .tbd files, along with the existing types (.a, .so, and .dylib). Patch by Tim Smith.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
061653091ebf02a4b2588f48a47071a182ff4dc6 |
|
13-Sep-2015 |
Benjamin Peterson <benjamin@python.org> |
fix name of argument in docstring and the docs (closes #25076) Patch by TAKASE Arihiro.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
3e081c73b8ab1780740794a9cf718ec330dba9d7 |
|
03-Feb-2013 |
Éric Araujo <merwok@netwok.org> |
Add alias to restore 2.7.2 compatibility for setup scripts (#13994). The customize_compiler function moved many times during the 2.7 series; in 2.7.3, setup scripts importing this function from ccompiler were broken. This commit restores compatibility without reintroducing the issue that #13994 originally fixed (duplication of the function). A unit test makes little sense here, as distutils tests never do imports in functions, and the fix is very simple.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
c47a4592514568215aa617fc25121a9a9a83e3f1 |
|
11-Feb-2012 |
Ned Deily <nad@acm.org> |
Issue #13994: Earler partial revert of Distutils enhancements in 2.7 has left two versions of customize_compiler, the original in distutils.sysconfig and another copy in distutils.ccompiler, with some parts of distutils calling one and others using the other. Complete the revert back to only having one in distutils.sysconfig as is the case in 3.x.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
d1feff70a3c08f91066b99a74ee1ca8f65bdfec1 |
|
06-Nov-2010 |
Éric Araujo <merwok@netwok.org> |
Merged revisions 86223-86224,86226,86234 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86223 | eric.araujo | 2010-11-06 00:51:56 +0100 (sam., 06 nov. 2010) | 2 lines Always close files in distutils code and tests (#10252). ........ r86224 | eric.araujo | 2010-11-06 00:58:34 +0100 (sam., 06 nov. 2010) | 2 lines Add missing entry for r86223. ........ r86226 | eric.araujo | 2010-11-06 00:59:32 +0100 (sam., 06 nov. 2010) | 2 lines Of course, I forgot one file in r86223. ........ r86234 | eric.araujo | 2010-11-06 03:10:32 +0100 (sam., 06 nov. 2010) | 2 lines Also close file descriptors from os.popen and subprocess.Popen ........
/external/python/cpython2/Lib/distutils/ccompiler.py
|
5633a8048fd8d59c9b23c98fb7e6419689b06316 |
|
23-Jan-2010 |
Tarek Ziadé <ziade.tarek@gmail.com> |
taking sysconfig out of distutils
/external/python/cpython2/Lib/distutils/ccompiler.py
|
ae7731af45263a5951c20265d704df69d603a6d9 |
|
12-Jan-2010 |
Tarek Ziadé <ziade.tarek@gmail.com> |
module cleanup
/external/python/cpython2/Lib/distutils/ccompiler.py
|
dc0f487c3b811fb41b629046c3fdd7c9f3aa73a2 |
|
11-Jan-2010 |
Tarek Ziadé <ziade.tarek@gmail.com> |
Fixed #5372: .o files are now always rebuilt because file age test don't work in some case
/external/python/cpython2/Lib/distutils/ccompiler.py
|
2b66da7d15e47f9ca0d08d4f18fc63c3ee6a0d51 |
|
21-Dec-2009 |
Tarek Ziadé <ziade.tarek@gmail.com> |
massive import cleaning in Distutils
/external/python/cpython2/Lib/distutils/ccompiler.py
|
c1df95e12f50e4e0ac2fb6d17cbf69a6a3d5583c |
|
16-Jun-2009 |
Tarek Ziadé <ziade.tarek@gmail.com> |
starting distutils.ccompiler test coverage and cleanup
/external/python/cpython2/Lib/distutils/ccompiler.py
|
f541378d13e7750b67758b721e862fd3b27e9e6b |
|
15-May-2009 |
Antoine Pitrou <solipsis@pitrou.net> |
Fix bootstrapping by removing uses of the copy module in distutils
/external/python/cpython2/Lib/distutils/ccompiler.py
|
9f369e91632a9249074049719e31ccb13d8ae039 |
|
25-Jan-2009 |
Tarek Ziadé <ziade.tarek@gmail.com> |
Issue #5052: removed backward compatibility information (out of date)
/external/python/cpython2/Lib/distutils/ccompiler.py
|
ef249b13eb7d0c5297d8acd55e18b95009ca12b2 |
|
25-Jan-2009 |
Tarek Ziadé <ziade.tarek@gmail.com> |
Fixed #4863: removed distutils.mwerkscompiler
/external/python/cpython2/Lib/distutils/ccompiler.py
|
240028cb771d286b39952357802483cf6a5d7e2e |
|
11-Dec-2008 |
Amaury Forgeot d'Arc <amauryfa@gmail.com> |
#1030250: correctly pass the dry_run option to the mkpath() function.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
8bc0965adfbe55926a475370c70a8366462daccc |
|
21-Feb-2008 |
Guido van Rossum <guido@python.org> |
Removed uses of dict.has_key() from distutils, and uses of callable() from copy_reg.py, so the interpreter now starts up without warnings when '-3' is given. More work like this needs to be done in the rest of the stdlib.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
ad647859f4e45af749ca2f5a5bc45aaad3b1ca20 |
|
26-May-2006 |
Bob Ippolito <bob@redivi.com> |
Fix distutils so that libffi will cross-compile between darwin/x86 and darwin/ppc
/external/python/cpython2/Lib/distutils/ccompiler.py
|
5a6601cfc63a7b4fe2caf05a0116022ab76b64e6 |
|
10-Nov-2004 |
Martin v. Löwis <martin@v.loewis.de> |
Update compatibility comments to 2.1, corresponding to PEP 291 1.13.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
061f132898d3232420db1c00a5adde13647d7e21 |
|
29-Aug-2004 |
Martin v. Löwis <martin@v.loewis.de> |
Patch #973204: Use -rpath instead of -R on Irix and Tru64.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
182b5aca27d376b08a2904bed42b751496f932f3 |
|
18-Jul-2004 |
Tim Peters <tim.peters@gmail.com> |
Whitespace normalization, via reindent.py.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
9436a75e4dfdae297c20be36ab3e65c5ab7ab1a4 |
|
05-Dec-2003 |
Thomas Heller <theller@ctypes.org> |
Compile the files in the same order they are passed to the compiler. Use case: Sometimes 'compiling' source files (with SWIG, for example) creates additionl files which included by later sources. The win32all setup script requires this. There is no SF item for this, but it was discussed on distutils-sig: http://mail.python.org/pipermail/distutils-sig/2003-November/003514.html
/external/python/cpython2/Lib/distutils/ccompiler.py
|
fa012610c443338da52080e9f05c839543e9b798 |
|
24-Apr-2003 |
Skip Montanaro <skip@pobox.com> |
new method: has_function() - returns a boolean indicating whether the argument function is available on the current platform
/external/python/cpython2/Lib/distutils/ccompiler.py
|
10da45e2371b6e44b32105cf8a1cdb655e173ca2 |
|
26-Feb-2003 |
Andrew M. Kuchling <amk@amk.ca> |
[Bug #668662] Patch from Pearu Pearson: if a C source file is specified with an absolute path, the object file is also written to an absolute path. The patch drops the drive and leading '/' from the source path, so a path like /path/to/foo.c results in an object file like build/temp.i686linux/path/to/foo.o.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
8c6e0ec16a39bb4ae139ec0104f6615173244664 |
|
29-Dec-2002 |
Andrew M. Kuchling <amk@amk.ca> |
Bug #599248: strip directories when building Python. Out-of-tree builds should work again.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
d448f66317130555cfc157683c743b3d004374c4 |
|
19-Nov-2002 |
Andrew M. Kuchling <amk@amk.ca> |
Add comment to Distutil files about requiring 1.5.2 compatibility, as suggested by PEP 291.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
a6483d2e9a9d9a69e9823217bf6b6334bb0f0066 |
|
14-Nov-2002 |
Andrew M. Kuchling <amk@amk.ca> |
Remove 'created by' lines; people can use CVS for this, and the information is often out of date
/external/python/cpython2/Lib/distutils/ccompiler.py
|
9a38dcf05743347c556660347a014620e3625949 |
|
14-Nov-2002 |
Andrew M. Kuchling <amk@amk.ca> |
[Bug #599248] ext module generation problem If you have source files srcdir1/foo.c and srcdir2/foo.c, the temporary .o for both files is written to build/temp.<platform>/foo.o. This patch sets strip_dir to false for both calls to object_filename, so now the object files are written to temp.<platform>/srcdir1/foo.o and .../srcdir2/foo.o. 2.2 bugfix candidate
/external/python/cpython2/Lib/distutils/ccompiler.py
|
cd8fdbb3fad7f81a84507d2294613016fccd0954 |
|
05-Nov-2002 |
Jeremy Hylton <jeremy@alum.mit.edu> |
Repair inconsistent use of tabs and spaces.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
6b016852f83621178ae053509c044d6fd27f46e3 |
|
05-Nov-2002 |
Gustavo Niemeyer <gustavo@niemeyer.net> |
This patch fixes the following bugs: [#413582] g++ must be called for c++ extensions [#454030] distutils cannot link C++ code with GCC topdir = "Lib/distutils" * bcppcompiler.py (BCPPCompiler.create_static_lib): Fixed prototype, removing extra_preargs and extra_postargs parameters. Included target_lang parameter. (BCPPCompiler.link): Included target_lang parameter. * msvccompiler.py (MSVCCompiler.create_static_lib): Fixed prototype, removing extra_preargs and extra_postargs parameters. Included target_lang parameter. (MSVCCompiler.link): Included target_lang parameter. * ccompiler.py (CCompiler): New language_map and language_order attributes, used by CCompiler.detect_language(). (CCompiler.detect_language): New method, will return the language of a given source, or list of sources. Individual source language is detected using the language_map dict. When mixed sources are used, language_order will stablish the language precedence. (CCompiler.create_static_lib, CCompiler.link, CCompiler.link_executable, CCompiler.link_shared_object, CCompiler.link_shared_lib): Inlcuded target_lang parameter. * cygwinccompiler.py (CygwinCCompiler.link): Included target_lang parameter. * emxccompiler.py (EMXCCompiler.link): Included target_lang parameter. * mwerkscompiler.py (MWerksCompiler.link): Included target_lang parameter. * extension.py (Extension.__init__): New 'language' parameter/attribute, initialized to None by default. If provided will overlap the automatic detection made by CCompiler.detect_language(), in build_ext command. * sysconfig.py (customize_compiler): Check Makefile for CXX option, and also the environment variable CXX. Use the resulting value in the 'compiler_cxx' parameter of compiler.set_executables(). * unixccompiler.py (UnixCCompiler): Included 'compiler_cxx' in executables dict, defaulting to 'cc'. (UnixCCompiler.create_static_lib): Included target_lang parameter. (UnixCCompiler.link): Included target_lang parameter, and made linker command use compiler_cxx, if target_lang is 'c++'. * command/build_ext.py (build_ext.build_extension): Pass new ext.language attribute to compiler.link_shared_object()'s target_lang parameter. If ext.language is not provided, detect language using compiler.detect_language(sources) instead. * command/config.py (config._link): Pass already available lang parameter as target_lang parameter of compiler.link_executable().
/external/python/cpython2/Lib/distutils/ccompiler.py
|
70e1d9b59da4004bdf5681d9c98fd0435bcd7c9e |
|
01-Oct-2002 |
Skip Montanaro <skip@pobox.com> |
save the verbose argument as an instance attributes. Subclasses of CCompiler may rely on the presence of self.verbose (SciPy's distutils appears to).
/external/python/cpython2/Lib/distutils/ccompiler.py
|
cc3a6df506db57d614225b3657b4e97efc078970 |
|
01-Oct-2002 |
Guido van Rossum <guido@python.org> |
Commit fix for SF 603831. Strangely, two out of three patches there seem already committed; but the essential one (get rid of the assert in object_filenames in ccompiler.py) was not yet applied. This makes the build procedure for Twisted work again. This is *not* a backport candidate despite the fact that identical code appears to exist in 2.2.2; Twisted builds fine there, so there must have been a change elsewhere.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
fcd7353863c024bb87aabe7c4639ca8df692ac85 |
|
11-Sep-2002 |
Jeremy Hylton <jeremy@alum.mit.edu> |
Use distutils.debug.DEBUG instead of distutils.core.DEBUG. Note that distutils.core.DEBUG still works if client code uses it, but the core code avoids circular references by using distutils.debug.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
6e08d22b1a7dabb5456460f152cc5e102cf44ea5 |
|
18-Jun-2002 |
Jeremy Hylton <jeremy@alum.mit.edu> |
Add a default implementation of compile() to the base class. The default implementation calls _compile() to compile individual files. This method must be implemented by the subclass. This change factors out most of the remaining common code in all the compilers except mwerks.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
59b103cf8776b9086bd9591f819e5f58f1b2c9da |
|
13-Jun-2002 |
Jeremy Hylton <jeremy@alum.mit.edu> |
Extend compiler() method with optional depends argument. This change is not backwards compatible. If a compiler subclass exists outside the distutils package, it may get called with the unexpected keyword arg. It's easy to extend that compiler by having it ignore the argument, and not much harder to do the right thing. If this ends up being burdensome, we can change it before 2.3 final to work harder at compatibility. Also add _setup_compile() and _get_cc_args() helper functions that factor out much of the boilerplate for each concrete compiler class.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
cd8a1148e19116db109f27d26c02e1de536dc76e |
|
04-Jun-2002 |
Jeremy Hylton <jeremy@alum.mit.edu> |
Make setup.py less chatty by default. This is a conservative version of SF patch 504889. It uses the log module instead of calling print in various places, and it ignores the verbose argument passed to many functions and set as an attribute on some objects. Instead, it uses the verbosity set on the logger via the command line. The log module is now preferred over announce() and warn() methods that exist only for backwards compatibility. XXX This checkin changes a lot of modules that have no test suite and aren't exercised by the Python build process. It will need substantial testing.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
e65008038eccdcef396b0b2c09c8b4d72cf9b915 |
|
25-Apr-2002 |
Thomas Heller <theller@ctypes.org> |
Fix trivial typo.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
2544f51036c51d87be53f6a5e35e867c8333378a |
|
31-Jan-2002 |
Marc-André Lemburg <mal@egenix.com> |
OS/2 patches by Andrew I MacIntyre for distutils. Closes patch #435381.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
b94b849d65af71b4b432a74fdaef8ccd88209cc0 |
|
06-Dec-2001 |
Fred Drake <fdrake@acm.org> |
Whitespace normalization.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
e259e5980c0a0889024ee99e4879a80fa8cd2086 |
|
27-Aug-2001 |
Jack Jansen <jack.jansen@cwi.nl> |
Patch by Bill Noon: added 'dylib' as a library type along with 'static' and 'shared'. This fixes extension building for dynamic Pythons on MacOSX.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
a34dbe0fdcfd7cf75c8d339542183d58cacfce8b |
|
27-Feb-2001 |
Andrew M. Kuchling <amk@amk.ca> |
Patch #403947: On Cygwin, use the Unix compiler class, and not the Cygwin-specific compiler class. (According to Jason Tishler, cygwinccompiler needs some work to handle the differences in Cygwin- and MSVC-Python. Makefile and config files are currently ignored by cygwinccompiler, as it was written to support cygwin for extensions which are intended to be used with the standard MSVC built Python.)
/external/python/cpython2/Lib/distutils/ccompiler.py
|
636b90638a0b26331bf0dc8bd3d16b334126cbb1 |
|
19-Feb-2001 |
Marc-André Lemburg <mal@egenix.com> |
This patch makes the default compiler determination more flexible and also takes the sys.platform name into account. This helps on platforms where there are multiple possible compiler backends (the one with which Python itself was compiled is preferred over others in this case). The patch uses this new technique to enable using cygwin compiler per default for cygwin compiled Pythons. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
bd2983caf39a6614924929af5b6e66e099749445 |
|
16-Jan-2001 |
Andrew M. Kuchling <amk@amk.ca> |
Add strip_dir argument to the single call to .object_filenames(), to prevent creating files such as build/lib.whatever/Modules/foo.o when given a source filename such as Modules/foo.c.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
3f819ec2edc54c8ccf0e6edb836a908ff6e31904 |
|
15-Jan-2001 |
Andrew M. Kuchling <amk@amk.ca> |
Fix from Jack Jansen for the Mac and the Metrowerks compiler, posted to the Distutils-SIG and archived at http://mail.python.org/pipermail/distutils-sig/2000-November/001755.html
/external/python/cpython2/Lib/distutils/ccompiler.py
|
264cf74e1a61048714fd168ecb7a7e9eaba6615a |
|
27-Sep-2000 |
Greg Ward <gward@python.net> |
Remove deprecation warnings on old 'link_*()' methods, ie. they're not deprecated after all. But now they're only implemented once, instead of N times.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
4240648a9dffd4b8858c7314bce0c2b0af830b06 |
|
27-Sep-2000 |
Greg Ward <gward@python.net> |
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
/external/python/cpython2/Lib/distutils/ccompiler.py
|
f813e59d496b1048d68a759cd913818d9b61112c |
|
04-Aug-2000 |
Greg Ward <gward@python.net> |
Added 'debug_print()'.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
e5e6015e5a888b62b65e049783ed623678e51240 |
|
04-Aug-2000 |
Greg Ward <gward@python.net> |
Added 'debug' flag to 'find_library_file()'.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
9dddbb4009ecd3efde478225170ac8fc287da8e8 |
|
02-Aug-2000 |
Greg Ward <gward@python.net> |
Added 'execute()' method, a thin wrapper around 'util.execute() (just like the one in cmd.py).
/external/python/cpython2/Lib/distutils/ccompiler.py
|
612eb9f58fe38f33484f36bcba97a4b3d8e090a9 |
|
27-Jul-2000 |
Greg Ward <gward@python.net> |
Fixed a grab-bag of typos spotted by Rob Hooft.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
65d6edb478d8c649766c59c5ae186bf0d1e812e6 |
|
07-Jul-2000 |
Jeremy Hylton <jeremy@alum.mit.edu> |
fix inconsistent use of tabs and spaces
/external/python/cpython2/Lib/distutils/ccompiler.py
|
bfc79d644adff429c51c90c21a0126d2ab983b32 |
|
28-Jun-2000 |
Greg Ward <gward@python.net> |
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()'.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
e5c62bf6e872730388265932ca042ae7df0684f2 |
|
25-Jun-2000 |
Greg Ward <gward@python.net> |
Introduced some bureaucracy for setting and tracking the executables that a particular compiler system depends on. This consists of the 'set_executables()' and 'set_executable()' methods, and a few lines in the constructor that expect implementation classes to provide an 'executables' attribute, which we use to initialize several instance attributes. The default implementation is somewhat biased in favour of a Unix/DOS "command-line" view of the world, but it shouldn't be too hard to override this for operating systems with a more sophisticated way of representing programs-to-execute.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
c3a43b4f9bbfba0685c99302c6144c3d0475ff21 |
|
24-Jun-2000 |
Greg Ward <gward@python.net> |
Docstring reformatting/tweaking binge. Fixed a few comments.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
9aa668b03a7ea6b0011c159d3ab5b5242a69d579 |
|
24-Jun-2000 |
Greg Ward <gward@python.net> |
Changed 'object_filenames()' to raise exception instead of silently carrying on if it sees a filename with unknown extension.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
2ff7887270385bd6dddc2d5461486334b4fec8bc |
|
24-Jun-2000 |
Greg Ward <gward@python.net> |
Stylistic/formatting changes to Rene Liebscher's '--help-xxx' patch.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
3ff3b039ac25f70cf6be3775dca0e21c2666d3d3 |
|
21-Jun-2000 |
Greg Ward <gward@python.net> |
Added 'preprocess()' method to CCompiler interface, and implemented it in UnixCCompiler. Still needs to be implemented in MSVCCompiler (and whatever other compiler classes are lurking out there, waiting to be checked in).
/external/python/cpython2/Lib/distutils/ccompiler.py
|
9d17a7ad6df0a940f8f10cf7a113aaffc4222309 |
|
07-Jun-2000 |
Greg Ward <gward@python.net> |
Patch from Rene Liebscher: this adds "--help-foo" options to list the values that "--foo" can take for various commands: eg. what formats for "sdist" and "bdist", what compilers for "build_ext" and "build_clib". I have *not* reviewed this patch; I'm checking it in as-is because it also fixes a paper-bag-over-head bug in bdist.py, and because I won't have time to review it properly for several days: so someone else can test it for me, instead!
/external/python/cpython2/Lib/distutils/ccompiler.py
|
39804cbc6027bc7869ceec75ba73de335222405a |
|
30-May-2000 |
Greg Ward <gward@python.net> |
Removed exceptions -- now in errors.py to avoid expensive import of ccompiler.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
d151711e66d1077669025b3fda5616bf31935538 |
|
30-May-2000 |
Greg Ward <gward@python.net> |
Changed to catch compile/link failures and raise CompileError, LibError, or LinkError (exception classes defined in ccompiler.py).
/external/python/cpython2/Lib/distutils/ccompiler.py
|
f7edea749d51abe6a6be7b3376447e140344c42e |
|
20-May-2000 |
Greg Ward <gward@python.net> |
Lyle Johnson: added stubs for the four miscellaneous methods that must be implemented by subclasses, since they are needed by 'gen_lib_options()'.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
5299b6afc568ac19917b93032295ad8bfbdfc711 |
|
20-May-2000 |
Greg Ward <gward@python.net> |
Added support for the 'export_symbols' parameter to 'link_shared_object()' and 'link_shared_lib()'. In MSVCCompiler, this is meaningful: it adds /EXPORT: options to the linker command line. In UnixCCompiler, it is ignored.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
f10f95d6bb7854ba2b3a8f6b554bcb8baecd7674 |
|
26-Mar-2000 |
Greg Ward <gward@python.net> |
Added 'runtime_library_dirs' parameter to 'link_*()' methods. Split '_fix_link_args()' up into '_fix_object_args()' (for use of 'create_static_lib() and link methods) and '_fix_lib_args()' (for the link methods only).
/external/python/cpython2/Lib/distutils/ccompiler.py
|
d03f88a38f9fe56f1981bae50c007d4b21c99001 |
|
18-Mar-2000 |
Greg Ward <gward@python.net> |
Changed to pay attention to the 'runtime_library_dirs' list (= 'rpath' option in the 'build_ext' command): * in ccompiler.py: 'gen_lib_options()' now takes 'runtime_library_dirs' parameter * in unixccompiler.py and msvccompiler.py: now pass 'self.runtime_library_dirs' to 'gen_lib_options()', and define 'runtime_library_dir_option()' (although in msvccompiler.py it blows up with a DistutilsPlatformError right now!)
/external/python/cpython2/Lib/distutils/ccompiler.py
|
036c805958577114c72167833ded53bd3f08edae |
|
10-Mar-2000 |
Greg Ward <gward@python.net> |
Renamed 'link_static_lib() to 'create_static_lib()'.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
32c4a8a0ee74ab932c693de3c8658f4fe57c1ca9 |
|
06-Mar-2000 |
Greg Ward <gward@python.net> |
Serious overhaul of the C compiler interface and the two classes that implement it (so far): * moved filename generation methods into CCompiler base class, driven by data supplied by implementation classes * moved a bunch of common code from UnixCCompiler to convenience methods in CCompiler * overhauled MSVCCompiler's compile/link methods to look and act as much as possible like UnixCCompiler's, in order to regularize both interface and behaviour (especially by using those new convenience methods)
/external/python/cpython2/Lib/distutils/ccompiler.py
|
3ce77fd05ed00168f618b63401d770ccc4f04b09 |
|
02-Mar-2000 |
Greg Ward <gward@python.net> |
Changed '__rcsid__' to '__revision__'.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
013f0c86368b6bfc8227a9cae6811ede3542be22 |
|
01-Mar-2000 |
Greg Ward <gward@python.net> |
Added 'mkpath()' method: convenience wrapper around 'util.mkpath()' that adds the compiler objects 'verbose' and 'dry_run' flags.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
3c045a576649ddf28eb6f9b33c749e8db0dd2255 |
|
09-Feb-2000 |
Greg Ward <gward@python.net> |
Added 'debug' flag to compile and link method signatures. Doc fix: several paragraphs under 'link_static_lib()' moved to 'link_shared_lib()', where they belong.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
5baf1c211133ac98c04dc308b6a441ecd53b6c06 |
|
09-Jan-2000 |
Greg Ward <gward@python.net> |
Removed a bunch of irrelevant parameters from 'link_static_lib()' signature. Added 'link_executable()' signature.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
0bdd90a7e7878f451eb4915b0dc4851fac351cc1 |
|
12-Dec-1999 |
Greg Ward <gward@python.net> |
Catch up with terminology change in UnixCCompiler: 'includes' -> 'include_dirs'.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
3febd6068234f817d22cc778ff8dce2e6bd49da5 |
|
03-Oct-1999 |
Greg Ward <gward@python.net> |
Slight change to the meaning of the 'libraries' list: if a library name has a directory component, then we only search for the library in that one directory, ie. ignore the 'library_dirs' lists for that one library. Changed calling convention to 'gen_lib_options()' again: now, it takes a CCompiler instance and calls methods on it instead of taking format strings. Also implemented the new "library name" semantics using the 'find_library_file()' method in the CCompiler instance. Added 'force' flag to CCompiler; added to constructor and 'new_compiler()'. Added 'warn()' method.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
802d6b7b4c83dde3eebf3afb7221edcba88d7937 |
|
29-Sep-1999 |
Greg Ward <gward@python.net> |
Added 'extra_preargs' and 'extra_postargs' parameters to most methods, which allowed us to get rid of the 'build_info' used in some places (a temporary kludge to support MSVC++ "def" files). Deleted big comment whining about that kludge. Added 'compiler_type' class attribute. Overhauled 'new_compiler()': now takes 'compiler' argument along with 'plat' (both optional with sensible defaults), and looks them both up in the new 'default_compiler' and 'compiler_class' dictionaries to figure out where to get the concrete compiler class from. Reordered arguments to 'gen_lib_options()' to match the order in which the arguments are generated (ie. -L before -l).
/external/python/cpython2/Lib/distutils/ccompiler.py
|
fbf8affca1a5eb139e794ae91c14ae6ccef2fc19 |
|
21-Sep-1999 |
Greg Ward <gward@python.net> |
Typecheck elements of 'macros' parameter in 'gen_preprocess_options().
/external/python/cpython2/Lib/distutils/ccompiler.py
|
9b17cb58198365c9eac65a1823b7e72279caa332 |
|
13-Sep-1999 |
Greg Ward <gward@python.net> |
Added 'output_dir' attribute, and 'output_dir' parameter to several method signatures, and updated some docstrings to reflect it. Some comments added. Added 'announce()' and 'move_file()' methods.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
f7a39ecac1c08c28456aa11ca7d5b3d57f8e4e84 |
|
08-Sep-1999 |
Greg Ward <gward@python.net> |
os.name is "posix" or "nt" or we don't care. Added big comment about the kludginess of passing 'build_options' to the link methods and how to fix it. Added 'gen_preprocess_options()' and 'gen_lib_options()' convenience functions -- the two cases are very similar for Unix C Compilers and VC++, so I figured I might as well unify the implementations.
/external/python/cpython2/Lib/distutils/ccompiler.py
|
26e48ea7df9681c7a138388241ae6cb000d215b0 |
|
29-Aug-1999 |
Greg Ward <gward@python.net> |
Patch from Perry Stoll: - fix some broken abstract methods - kludge: add 'build_info' parameter to link methods - add 'object_name()' and 'shared_library_name()' - support for MSVCCompiler class on NT/Win95
/external/python/cpython2/Lib/distutils/ccompiler.py
|
e1aaaa653c93e2513a77023b1a5b782ed2ec9146 |
|
15-Aug-1999 |
Greg Ward <gward@python.net> |
Added 'verbose' and 'dry_run' flags to CCompiler constructor and 'new_compiler()' factory function. Added 'runtime_library_dirs' list (for -R linker option) and methods to manipulate it. Deleted some obsolete comments. Added all the filename manglign methods: 'object_filenames()', 'shared_object_filename()', 'library_filename()', 'shared_library_filename()'. Added 'spawn()' method (front end to the "real" spawn).
/external/python/cpython2/Lib/distutils/ccompiler.py
|
3f81cf793645442c93b63c2f96bac970bb25b743 |
|
10-Jul-1999 |
Greg Ward <gward@python.net> |
The abstract base class that defines the C/C++ compiler abstraction model.
/external/python/cpython2/Lib/distutils/ccompiler.py
|