Re: Compiling C++ extensions with distutils on Cygwin

2005-06-22 Thread George Sakkis
"George Sakkis" wrote: > I'm trying to build a C++ extension on Cygwin, but it fails because > distutils invokes gcc instead of g++. Looking into distutils internals, > it turns out that compilation is assumed to be independent of the > target language, while linking is not (CCompiler.compile() do

Compiling C++ extensions with distutils on Cygwin

2005-06-21 Thread George Sakkis
I'm trying to build a C++ extension on Cygwin, but it fails because distutils invokes gcc instead of g++. Looking into distutils internals, it turns out that compilation is assumed to be independent of the target language, while linking is not (CCompiler.compile() doesn't take a target_lang argumen