New submission from Pertti Kellomäki :
If the compiler command in CXX contains more than one word, e.g. "ccache
g++", line 256 in distutils/unixccompiler.py only picks the first word
as the linker and discards the rest:
linker[i] = self.compiler_cxx[i]
On Ubunt
Pertti Kellomäki added the comment:
This patch seems to solve the problem for me. I think it should also
work with the environment variable setting on OS X, but I haven't tested it.
--
keywords: +patch
Added file: http://bugs.python.org/file14862/linker_command.
Pertti Kellomäki added the comment:
The linker is usually called via a compiler, which arranges for compiler
specific libraries to be included in the linking. See e.g. section 10.2
in the GNU Make manual:
Linking a single object file
n is made automatically from n.o by running the linker