delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <45A6753C.6000603@cygwin.com> |
Date: | Thu, 11 Jan 2007 12:34:52 -0500 |
From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
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: | <cf641f1d0701110905v665c15a0vcc5dc7292684ce3d AT mail DOT gmail DOT com> <cf641f1d0701110908k3860d349i96cf5af187ce654a AT mail DOT gmail DOT com> |
In-Reply-To: | <cf641f1d0701110908k3860d349i96cf5af187ce654a@mail.gmail.com> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
Thomas Antony wrote: > Hello, > This is my first post here. I recently installed Cygwin again > after my harddisk crashed and had to be formatted and all. I mainly > use an ELF cross compiler for doing OS dev. So it was when I tried to > compile a simple app using the normal GCC that I ran into this error. > > $ gcc -mno-cygwin -o hello hello.c > gcc: installation problem, cannot exec 'cc1': No such file or directory > > I see that it occurs only when I use the -mno-cygwin option. I > searched google. I found I have to install gcc-mingw package. I > installed it. But the problem still prevails. I also see that there is > no /usr/lib/gcc-lib directory. I found cc1.exe in the > /lib/gcc/i686-pc-cygwin/3.4.4 directory. I tried adding that to the > PATH. But then I get the error. > > ld: crt2.o: No such file: No such file or directory Don't do that. > I have also tried reinstalling those packages (gcc, binutils etc.) . > But it still doesnt work. > > I am also attaching the output of cygcheck -r -s -v , in case it helps. What does 'ls -l /lib/gcc/'? You should have '/lib/gcc/i686-pc-mingw32/3.4.4' with cc1.exe in it (which is just a symbolic link to the one in the i686-pc-cygwin). If you don't have that, check /var/log/setup.log* for indications of installation glitches. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |