Pyrex installation on windows XP: step-by-step guide

Robert Kern robert.kern at gmail.com
Sun May 21 22:42:38 EDT 2006


Gonzalo Monzón wrote:

> I see there are both libraries linked in my pyrex modules...  However, 
> when one should expect to have problems with this "dll nightmare", if 
> you always provide the right msvcr71.dll bundled within your project -I 
> mean, using py2exe by example- ?
> 
> Of course if you didn't bundle the right crt, it does depend on the 
> available crt on target system... then you would be in trouble if user 
> doesn't have msvcrt71, or anyway, could be in trouble linking the 
> "right" library?

If you use std::cout in a C++ extension module that was built with the stock
Python 2.4 distutils and the stock MinGW, you will crash the interpreter.
"Bundling the right CRT" is not the issue. *Building* with the right CRT is.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco




More information about the Python-list mailing list