This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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?

    cheers,
      DaveK



--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]