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

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 targetlang == "c++" and self.compilercxx: linker[0] = self.compilercxx[0] self.spawn(linker + ldargs) "linker" is the variable expanded LDSHARED (or whatever comes out of sysconfig.customizecompiler).

Bah!

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 Goldman



More information about the Python-Dev mailing list