This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC fatal error: can't open /tmp/ccc6IHTT.s for writing


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

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

Thanks again.

On 24/02/2012 16:34, Dave Korn wrote:
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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]