X-Spam-Check-By: sourceware.org Message-ID: <45A7AC22.40107@cygwin.com> Date: Fri, 12 Jan 2007 10:41:22 -0500 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.9) Gecko/20061221 Fedora/1.5.0.9-1.fc4.remi Thunderbird/1.5.0.9 Mnenhy/0.7.4.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: gcc: installation problem, cannot exec 'cc1' References: <45A6FD97 DOT 1090904 AT cygwin DOT com> <01e501c735fa$6de85fb0$a501a8c0 AT CAM DOT ARTIMI DOT COM> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 Thomas Antony wrote: > 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? > Is crt2.o in /usr/lib/mingw? Does it look OK? -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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/