X-Recipient: archive-cygwin AT delorie DOT 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 DOT korn DOT cygwin AT gmail DOT com designates 10.180.86.105 as permitted sender) client-ip=10.180.86.105; Authentication-Results: mr.google.com; spf=pass (google.com: domain of dave DOT korn DOT cygwin AT gmail DOT com designates 10.180.86.105 as permitted sender) smtp.mail=dave DOT korn DOT cygwin AT gmail DOT com; dkim=pass header.i=dave DOT korn DOT cygwin AT gmail DOT com Message-ID: <4F477DBD.4050502@gmail.com> Date: Fri, 24 Feb 2012 12:08:29 +0000 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: GCC fatal error: can't open /tmp/ccc6IHTT.s for writing References: <4F4756DD DOT 30203 AT codeplay DOT com> In-Reply-To: <4F4756DD.30203@codeplay.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 24/02/2012 09:22, Paul Keir wrote: > Hello, > > After installing a package (libxrandr-dev I think) GCC 4.5.3 (from Exp) > has a problem. Even Hello World gives me: > > hello.c:1:0: fatal error: can't open /tmp/ccc6IHTT.s for writing: No > such file or directory > compilation terminated. > > I have tried reinstalling GCC with no luck. Can anyone offer advice? Is the drive where your /tmp dir is located full? Does it have the right permissions? Can you create the same named file manually (e.g. run a command like "ls >/tmp/ccc6IHTT.s")? If none of that sheds any light on it, please run "cygcheck -s -v -r > cygcheck.out" and send that file **as an attachment only please** with your next post. Also, re-run the gcc compile command that's failing, but add the "-v" option to the command-line, and show us all the output it generates. 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