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 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> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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/