X-Recipient: archive-cygwin@delorie.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.korn.cygwin@googlemail.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: [1.5][gcc-3.4.4] python-2.5.4 distutils failed to compile c files
References: <20090506.225234.22838.0@webmail19.dca.untd.com>
In-Reply-To: <20090506.225234.22838.0@webmail19.dca.untd.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

