From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3056 invoked by alias); 26 May 2011 20:24:59 -0000 Received: (qmail 3047 invoked by uid 22791); 26 May 2011 20:24:59 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from out3.smtp.messagingengine.com (HELO out3.smtp.messagingengine.com) (66.111.4.27) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 26 May 2011 20:24:45 +0000 Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.messagingengine.com (Postfix) with ESMTP id 12A262037E for ; Thu, 26 May 2011 16:24:45 -0400 (EDT) Received: from frontend2.messagingengine.com ([10.202.2.161]) by compute3.internal (MEProxy); Thu, 26 May 2011 16:24:45 -0400 Received: from [158.147.67.90] (158-147-67-90.harris.com [158.147.67.90]) by mail.messagingengine.com (Postfix) with ESMTPSA id BDC24446D1C; Thu, 26 May 2011 16:24:44 -0400 (EDT) Message-ID: <4DDEB70C.6070100@cwilson.fastmail.fm> Date: Thu, 26 May 2011 20:24:00 -0000 From: Charles Wilson Reply-To: Charles Wilson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Cygwin and Windows Paths Leaking Through References: <31711163.post@talk.nabble.com> <4DDEB26B.1080509@cwilson.fastmail.fm> <31711473.post@talk.nabble.com> In-Reply-To: <31711473.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-05/txt/msg00409.txt.bz2 On 5/26/2011 4:17 PM, sweinberger wrote: > > > Here's your problem: binutils and gcc don't support compiling "in the >> source tree". You need to create a separate, empty build directory >> *outside* the src directory, and run configure/make in there. > > I did just that. > > I downloaded binutils-2.21 and expanded everything into a new empty folder. > Here is where I downloaded everything to: > > /usr/local/binutils-2.21. > > /binutils-2.21 is a new folder. > > I changed directories to that folder, executed the .configure line, in my > case, > > ./configure --target=mips-elf > > and I then entered "make" (without the double quotes). No, that's exactly what you should NOT do: you are attempting to build inside the same folder where the source is. You need to create a DIFFERENT (really empty, as opposed to full of a bunch of source files) folder, say: /usr/local/build-binutils/ and do this: $ cd /usr/local/build-binutils/ $ /usr/local/binutils-2.21/configure (options) $ make -- Chuck -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple