X-Recipient: archive-cygwin AT delorie DOT com 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 Message-ID: <4DDEB70C.6070100@cwilson.fastmail.fm> Date: Thu, 26 May 2011 16:24:44 -0400 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 AT cygwin DOT com Subject: Re: Cygwin and Windows Paths Leaking Through References: <31711163 DOT post AT talk DOT nabble DOT com> <4DDEB26B DOT 1080509 AT cwilson DOT fastmail DOT fm> <31711473 DOT post AT talk DOT nabble DOT 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 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 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