X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-5.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_YG X-Spam-Check-By: sourceware.org Message-ID: <50CAD4E3.5020401@gmail.com> Date: Fri, 14 Dec 2012 08:27:31 +0100 From: marco atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Problem after updating and reinstalling. References: <1355458667667-94907 DOT post AT n5 DOT nabble DOT com> In-Reply-To: <1355458667667-94907.post@n5.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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 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 > them. > > The same thing happens when I open the old one as well. > please follow > Problem reports: http://cygwin.com/problems.html specially "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. " Regards Marco -- 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