X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Received-SPF: pass (google.com: domain of dave.korn.cygwin@gmail.com designates 10.216.138.129 as permitted sender) client-ip=10.216.138.129;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of dave.korn.cygwin@gmail.com designates 10.216.138.129 as permitted sender) smtp.mail=dave.korn.cygwin@gmail.com; dkim=pass header.i=dave.korn.cygwin@gmail.com
Message-ID: <4F4BE5F7.5060801@gmail.com>
Date: Mon, 27 Feb 2012 20:22:15 +0000
From: Dave Korn <dave.korn.cygwin@gmail.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: GCC  fatal error: can't open /tmp/ccc6IHTT.s for writing
References: <4F4756DD.30203@codeplay.com> <4F477DBD.4050502@gmail.com> <4F479609.6080507@codeplay.com> <4F47A570.3090507@gmail.com> <4F47AE61.6040604@codeplay.com> <4F47BC24.5020108@gmail.com> <4F4BAB59.7080300@codeplay.com>
In-Reply-To: <4F4BAB59.7080300@codeplay.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
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

On 27/02/2012 16:12, Paul Keir wrote:
> Thanks Dave, it's fixed. It looks like the problem was the cygwin1.dll
> in C:\Windows\SYSTEM. I have no idea why that was there. (I am not the
> first to use this machine.)

  Well, you may just find out when something else stops working - it's not
unknown for people to ship custom toolchains built on Cygwin that install the
DLL into the SYSTEM directory.  (In which case, put the DLL you found there
into the binaries dir alongside the tools involved.)

> As a precaution I have also removed
> C:\Users\XXXXXXXX\home\apps\gcc-4.7-20120128\bin from my PATH. I had
> built it with --program-suffix=-4.7, but the following potentially
> conflicting files remain there with their names untouched:
> 
> cyggfortran-3.dll
> cygssp-0.dll
> cygstdc++-6.dll

  Although having them later in the path than the system versions in /usr/bin
should in theory make that safe, mixing DW2 and SJLJ is asking for trouble to
crop up somewhere down the line.

    cheers,
      DaveK

--
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

