X-Spam-Check-By: sourceware.org Message-ID: Date: Fri, 12 Jan 2007 09:38:37 +0530 From: "Thomas Antony" To: cygwin AT cygwin DOT com Subject: Re: gcc: installation problem, cannot exec 'cc1' In-Reply-To: <01e501c735fa$6de85fb0$a501a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45A6FD97 DOT 1090904 AT cygwin DOT com> <01e501c735fa$6de85fb0$a501a8c0 AT CAM DOT ARTIMI DOT COM> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Hello, Come to think of it, I had removed the read only stuff when it drove me nuts with silly errors when I tried to delete or move files. But not on C drive. Anyway, I removed those links using the script you said and reinstalled. Now ls lists them correctly $ ls -l /usr/lib/gcc/i686-pc-mingw32/3.4.4/ total 1234 lrwxrwxrwx 1 Tom None 34 Jan 12 09:34 cc1.exe -> ../../i686-pc-cygwin/3.4 .4/cc1.exe lrwxrwxrwx 1 Tom None 38 Jan 12 09:32 cc1plus.exe -> ../../i686-pc-cygwin /3.4.4/cc1plus.exe lrwxrwxrwx 1 Tom None 39 Jan 12 09:34 collect2.exe -> ../../i686-pc-cygwi n/3.4.4/collect2.exe -rwxr-xr-x 1 Tom None 412 May 24 2005 crtbegin.o -rwxr-xr-x 1 Tom None 492 May 24 2005 crtend.o drwxrwxr--+ 2 Tom Users 0 Jan 12 09:32 debug drwxrwxr--+ 3 Tom Users 0 Jan 12 09:34 include drwxrwxr--+ 3 Tom Users 0 Jan 12 09:34 install-tools -rwxr-xr-x 1 Tom None 52594 May 24 2005 libgcc.a -rwxr-xr-x 1 Tom None 9772 May 24 2005 libgcov.a -rwx------+ 1 Tom None 1063604 May 24 2005 libstdc++.a -rwx------+ 1 Tom None 685 May 24 2005 libstdc++.la -rwx------+ 1 Tom None 116074 May 24 2005 libsupc++.a -rwx------+ 1 Tom None 685 May 24 2005 libsupc++.la lrwxrwxrwx 1 Tom None 32 Jan 12 09:34 specs -> ../../i686-pc-cygwin/3.4.4 /specs But now, while compiling I get the error $ gcc -mno-cygwin -o hello hello.c /usr/bin/ld: crt2.o: No such file: No such file or directory collect2: ld returned 1 exit status ?? Now what? ~ Thomas On 1/12/07, Dave Korn wrote: > On 12 January 2007 03:17, Larry Hall (Cygwin) wrote: > > > All your links have been incorrectly created or you're not using Cygwin's > > "ls". > > Or he used windows explorer to recursively adjust the file attributes for > the whole tree, perhaps in an attempt to turn off the R/O flag. That turns > link files into .lnk files automanglicly. This /might/ just help: > > cd /usr/lib/gcc/i686-pc-mingw32/3.4.4/ > attrib +R '*.lnk' > > cheers, > DaveK > -- > Can't think of a witty .sigline today.... > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/