[Python-Dev] Re: [Python-checkins] python/dist/src/Mac/OSX fixapplepython23.py, 1.1, 1.2

Jack Jansen Jack.Jansen at cwi.nl
Wed Dec 29 11:23:52 CET 2004

On 29-dec-04, at 4:35, Bob Ippolito wrote:

> This is the wrong fix.  Distutils is dumber than you think.  This 
> patch just breaks C++ compilation in a different way.  The correct 
> solution is a patch to distutils of some kind.
> from distutils/unixccompiler.py:174
>                 if target_lang == "c++" and self.compiler_cxx:
>                     linker[0] = self.compiler_cxx[0]
>                 self.spawn(linker + ld_args)
> "linker" is the variable expanded LDSHARED (or whatever comes out of 
> sysconfig.customize_compiler).


Any suggestions as to what to do to get c++ compilation fixed?

Also, could you point me to a readily available extension package that 
uses c++?
Jack Jansen, <Jack.Jansen at cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma 

More information about the Python-Dev mailing list