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: Problem after updating and reinstalling.

On 12/14/2012 5:17 AM, asallen08 wrote:
I am currently taking intro to computer programming and my professor told me
to post in this forum since he didn't know what my error message was. He
told everyone in the class to update the Cygwin software by going to the
website and clicking on the download link. I have read a lot of things on
this site that I don't understand. Can some one please help me. I have
programs that I need to compile and run for class.

After I ran the install it popped up a new new shortcut on the desktop. So
now I have two. The old one and the new one. When I clicked on the new one

in theory , you should have only one called "Cygwin Terminal"

To check the program and version, click on the icon, and on the terminal window click on the "C>" drawing on the upper left corner, click "Options.." and than "About"

Latest is mintty , version 1.1.2.

and typed in gcc and the name of the program that I needed to compile it
said: .c:0: fatal error: can't open /tmp/ccASZhsx.s for writing: No such
file or directory

what is the output of " ls -l $(which gcc)" and "ls /" ?

compilation terminated. Does anyone one now what this mean and how I can fix
this error? According to my book it said to open up CMD and at the C:\ type
PATH %PATH;c:\cygwin\bin.

obsolete suggestion. Don't use CMD, use instead "Cygwin Terminal" and surely is not a good idea to put cygwin\bin at the end of the PATH.
On bash (the standard command interpreter for cygwin) the "bin" is
already added to the PATH at its begin.

So I closed Cygwin and opened up CMD and typed in
the path re-open cygwin and still got the same message. When I type ls into
Cygwin I can see my programs and my .c files but I can't compile any of

The same thing happens when I open the old one as well.

please follow
Problem reports:


"Run cygcheck -s -v -r > cygcheck.out and include that file as an attachment in your report. Please do not compress or otherwise encode the output. Just attach it as a straight text file so that it can be easily viewed. "


-- Problem reports: FAQ: Documentation: Unsubscribe info:

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