[Distutils] Re: [4suite] Re: Compiling 4Suite 0.10.2beta on Windows

Rene Liebscher R.Liebscher@gmx.de
Thu Feb 22 04:40:47 2001


Jason Tishler wrote:
> 
> John,
> 
> On Tue, Feb 20, 2001 at 07:18:42PM +0000, John J. Lee wrote:
> >
> > On Tue, 20 Feb 2001, Jason Tishler wrote:
> > [...]
> > > The current Cygwin gcc release (i.e., 2.95.2-6) still binds against
> > > crtdll.dll.  Sorry, if my post caused any heartaches.
> >
> > [...]
> > but just to make completely clear: the -c mingw32 option to
> > setup.py does appear to work fine at the moment.
> >
> > You don't need to get mingw32 separately, just get cygwin (unless you
> > don't want any of the cygwin stuff, of course).
> 
> If one uses the current Cygwin gcc in Mingw mode (i.e., -mno-cygwin),
> then their extensions will use a different C runtime (i.e., crtdll.dll)
> than the one used by the Win32 Python interpreter (i.e., msvcrt.dll).
> IIRC, this is bound to cause problems such as crashing the interpreter.
> 
For gcc 2.91.57 I had this behaviour, in this case adding the msvcrt
library to the to linking libraries solved the problem.
A later version (2.95.2-??) worked without problems for the extensions
I used. 
Maybe adding the msvcrt library could also help in your case.
(If I understand it right, gcc uses then C functions from msvcrt because
it is
checked first for the necessary symbols.)

Kind regards
Rene Liebscher