delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <cf641f1d0701130326i60125618o6be7e047cc87e84f@mail.gmail.com> |
Date: | Sat, 13 Jan 2007 16:56:28 +0530 |
From: | "Thomas Antony" <tomasm2005 AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: gcc: installation problem, cannot exec 'cc1' |
In-Reply-To: | <45A7AC22.40107@cygwin.com> |
MIME-Version: | 1.0 |
References: | <45A6FD97 DOT 1090904 AT cygwin DOT com> <01e501c735fa$6de85fb0$a501a8c0 AT CAM DOT ARTIMI DOT COM> <cf641f1d0701112008q2608d2fif513b72eeaf690e6 AT mail DOT gmail DOT com> <45A7AC22 DOT 40107 AT cygwin DOT com> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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, The file crt2.o is present in /usr/lib/mingw. But the error remains the same. Tom AT toms-pc ~ $ gcc -mno-cygwin hello.c /usr/bin/ld: crt2.o: No such file: No such file or directory collect2: ld returned 1 exit status I also found that I get another error if I compile the program from within the directory /usr/lib/mingw .See this: Tom AT toms-pc /usr/lib/mingw $ gcc -mno-cygwin ~/hello.c /usr/bin/ld: cannot find -lmingw32 collect2: ld returned 1 exit status ~ Thomas On 1/12/07, Larry Hall (Cygwin) <reply-to-list-only-lh AT cygwin DOT com> wrote: > 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/ > > -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |