When using ccache to invoke g++, unixcompiler.py only picks up 1st word & ignores the g++. Applying the patch below fixes it. http://bugs.python.org/issue6863 ## <bountysource-plugin> Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/339163-old-unixcompiler-py-bug-when-using-ccache-g?utm_campaign=plugin&utm_content=tracker%2F11371&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F11371&utm_medium=issues&utm_source=github). </bountysource-plugin>