delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/06/23:18:58

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A0255B8.5080709@gmail.com>
Date: Thu, 07 May 2009 04:30:00 +0100
From: Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [1.5][gcc-3.4.4] python-2.5.4 distutils failed to compile c files
References: <20090506 DOT 225234 DOT 22838 DOT 0 AT webmail19 DOT dca DOT untd DOT com>
In-Reply-To: <20090506.225234.22838.0@webmail19.dca.untd.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019