cpython/Lib/distutils
Miss Islington (bot) 06e9953d5e
bpo-35198 Fix C++ extension compilation on AIX (GH-10437)
For C++ extensions, distutils tries to replace the C compiler with the
C++ compiler, but it assumes that C compiler is the first element after
any environment variables set. On AIX, linking goes through ld_so_aix,
so it is the first element and the compiler is the next element. Thus
the replacement is faulty:

ld_so_aix gcc ... -> g++ gcc ...

Also, it assumed that self.compiler_cxx had only 1 element or that
there were the same number of elements as the linker has and in the
same order. This might not be the case, so instead concatenate
everything together.
(cherry picked from commit 800d5cd750)

Co-authored-by: Kevin Adler <kadler@us.ibm.com>
2019-03-04 07:06:36 -08:00
..
command bpo-35299: Fixed sysconfig and distutils during PGO profiling (GH-11744) 2019-02-04 17:54:59 -08:00
tests bpo-35299: Fixed sysconfig and distutils during PGO profiling (GH-11744) 2019-02-04 17:54:59 -08:00
README
__init__.py keep distutils version in sync with python version automatically 2015-05-25 21:24:00 -05:00
_msvccompiler.py bpo-35699: fix distuils cannot detect Build Tools 2017 anymore (GH-11495) 2019-01-20 11:06:08 -08:00
archive_util.py bpo-34738: Add directory entries in ZIP files created by distutils. (GH-9419) 2018-12-05 12:29:31 -08:00
bcppcompiler.py
ccompiler.py Issue #25136: Support Apple Xcode 7's new textual SDK stub libraries. 2016-02-25 00:56:38 +11:00
cmd.py Issue #29218: Remove unused install_misc command 2017-02-01 04:42:48 +03:00
config.py bpo-32155: Revert distutils.config change (#4618) 2017-11-28 23:19:26 +01:00
core.py Issue #23426: run_setup was broken in distutils. 2015-07-28 15:55:07 +12:00
cygwinccompiler.py Replace KB unit with KiB (#4293) 2017-11-08 14:44:44 -08:00
debug.py
dep_util.py
dir_util.py fix instances of consecutive articles (closes #23221) 2015-01-13 09:17:24 -05:00
dist.py bpo-19610: Warn if distutils is provided something other than a list to some fields (#4685) 2017-12-04 18:58:12 -08:00
errors.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
extension.py Removed unused imports. 2016-04-25 00:12:32 +03:00
fancy_getopt.py
file_util.py Issue #8876: distutils now falls back to copying files when hard linking doesn't work. 2014-10-30 19:37:07 +01:00
filelist.py Issue #22493: Inline flags now should be used only at the start of the 2016-09-11 12:50:02 +03:00
log.py bpo-34421: Improve distutils logging for non-ASCII strings. (GH-9126) (GH-9506) 2018-09-23 10:31:53 +03:00
msvc9compiler.py Remove all mention of Windows IA-64 support (GH-3389) 2017-09-06 15:45:25 -07:00
msvccompiler.py Remove all mention of Windows IA-64 support (GH-3389) 2017-09-06 15:45:25 -07:00
spawn.py bpo-34530: Fix distutils find_executable() (GH-9049) 2018-09-04 05:19:13 -04:00
sysconfig.py bpo-35299: Fixed sysconfig and distutils during PGO profiling (GH-11744) 2019-02-04 17:54:59 -08:00
text_file.py Removed unused imports. 2016-04-25 00:12:32 +03:00
unixccompiler.py bpo-35198 Fix C++ extension compilation on AIX (GH-10437) 2019-03-04 07:06:36 -08:00
util.py bpo-10496: distutils check_environ() handles getpwuid() error (GH-10931) 2018-12-18 07:34:54 -08:00
version.py Issue #23326: Removed __ne__ implementations. Since fixing default __ne__ 2015-01-31 12:05:05 +02:00
versionpredicate.py #27364: fix "incorrect" uses of escape character in the stdlib. 2016-09-08 13:59:53 -04:00

README

This directory contains the Distutils package.

There's a full documentation available at:

    http://docs.python.org/distutils/

The Distutils-SIG web page is also a good starting point:

    http://www.python.org/sigs/distutils-sig/

WARNING : Distutils must remain compatible with 2.3

$Id$