[1.5][gcc-3.4.4] python-2.5.4 distutils failed to compile c files

Dave Korn dave.korn.cygwin@googlemail.com
Thu May 7 03:18:00 GMT 2009

Joe Pham wrote:
> Using non-cygwin python-2.5.4

> Apparently, distutils failed to locate the full path to gcc.exe 
> because /bin/gcc.exe is an s-link instead of a regular file

  Non-cygwin applications of course do not recognise nor follow Cygwin symlinks.

> (os.path.isfile() returned False).  
> One simple work-around is to delete that s-link and
> copy /bin/gcc-3.exe to /bin/gcc.exe

  Can you just tell windows python to use "gcc-3" in distutils instead of
"gcc", and not have to munge your cygwin installation?


Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

More information about the Cygwin mailing list