[Distutils] behavior when failing to build an extension?

Bernhard Herzog bh@intevation.de
Thu Aug 9 13:22:02 2001


Just van Rossum <just@letterror.com> writes:

> Bernhard Herzog wrote:
> 
> > I think distutils should print an error and stop by default. That way
> > users trying to build an extension immediately know that something went
> > wrong.
> 
> Is that what happens under Unix?

Yes, distutils stops with a message along the lines of 
error: command 'gcc' failed with exit status 1

That's also what e.g. make does by default, unless you run it with the
-k flag.

  Bernhard

-- 
Intevation GmbH                                 http://intevation.de/
Sketch                                 http://sketch.sourceforge.net/
MapIt!                                               http://mapit.de/