[issue6863] Wrong linker command if CXX set to ccache g++

2009-09-12 Thread Pertti Kellomäki
Pertti Kellomäki pertti.kellom...@tut.fi 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

[issue6863] Wrong linker command if CXX set to ccache g++

2009-09-08 Thread Pertti Kellomäki
New submission from Pertti Kellomäki pertti.kellom...@tut.fi: 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

[issue6863] Wrong linker command if CXX set to ccache g++

2009-09-08 Thread Pertti Kellomäki
Pertti Kellomäki pertti.kellom...@tut.fi 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