X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_YG
X-Spam-Check-By: sourceware.org
Received-SPF: pass (google.com: domain of dave.korn.cygwin@gmail.com designates 10.216.136.68 as permitted sender) client-ip=10.216.136.68;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of dave.korn.cygwin@gmail.com designates 10.216.136.68 as permitted sender) smtp.mail=dave.korn.cygwin@gmail.com; dkim=pass header.i=dave.korn.cygwin@gmail.com
Message-ID: <4F47BC24.5020108@gmail.com>
Date: Fri, 24 Feb 2012 16:34:44 +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>
In-Reply-To: <4F47AE61.6040604@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 24/02/2012 15:36, Paul Keir wrote:
> echo $? returns 1 after using gcc.

  Right, that's "helpful" of it!  That's clearly just a fail status but not an
errno value.

  Anyway, I think your cygcheck reveals the problem.  You have multiple
cygwin1.dlls of different versions in your path at the same time.  You also
have a homebrew build of gcc 4.7 in your path, and it's using SJLJ exceptions
rather than DW2, which means that its runtime DLLs will be incompatible with
the standard system ones.

  Try removing the cygwin1.dll from C:\Windows\SYSTEM, and cutting
C:\Users\XXXXXXXX\home\apps\gcc-4.7-20120128\bin out of your PATH, and see if
that fixes it.

    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

