800d5cd750
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. |
||
---|---|---|
.. | ||
command | ||
tests | ||
README | ||
__init__.py | ||
_msvccompiler.py | ||
archive_util.py | ||
bcppcompiler.py | ||
ccompiler.py | ||
cmd.py | ||
config.py | ||
core.py | ||
cygwinccompiler.py | ||
debug.py | ||
dep_util.py | ||
dir_util.py | ||
dist.py | ||
errors.py | ||
extension.py | ||
fancy_getopt.py | ||
file_util.py | ||
filelist.py | ||
log.py | ||
msvc9compiler.py | ||
msvccompiler.py | ||
spawn.py | ||
sysconfig.py | ||
text_file.py | ||
unixccompiler.py | ||
util.py | ||
version.py | ||
versionpredicate.py |
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/ $Id$