delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/13/12:42:11

X-Spam-Check-By: sourceware.org
Message-ID: <cf641f1d0701130941k3ae8f26fx214caac574773568@mail.gmail.com>
Date: Sat, 13 Jan 2007 23:11:48 +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: <000a01c73722$f99c3c10$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
References: <cf641f1d0701130326i60125618o6be7e047cc87e84f AT mail DOT gmail DOT com> <000a01c73722$f99c3c10$a501a8c0 AT CAM DOT ARTIMI 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

...
Nop.

Tom AT toms-pc ~
$ grep 'gcc\|mingw\|w32api' a.txt b.txt
a.txt:gcc                  3.4.4-3            OK
a.txt:gcc-core             3.4.4-3            OK
a.txt:gcc-g++              3.4.4-3            OK
a.txt:gcc-mingw            20040810-1         OK
a.txt:gcc-mingw-core       20050522-1         OK
a.txt:gcc-mingw-g++        20050522-1         OK
a.txt:mingw-runtime        3.11-1             OK
a.txt:w32api               3.8-1              OK
b.txt:gcc                  3.4.4-3            OK
b.txt:gcc-core             3.4.4-3            OK
b.txt:gcc-g++              3.4.4-3            OK
b.txt:gcc-mingw            20040810-1         OK
b.txt:gcc-mingw-core       20050522-1         OK
b.txt:gcc-mingw-g++        20050522-1         OK
b.txt:mingw-runtime        3.11-1             OK
b.txt:w32api               3.8-1              OK

I guess I am gonna have to reinstall the whole thing.

~
Thomas
On 1/13/07, Dave Korn <dave DOT korn AT artimi DOT com> wrote:
> On 13 January 2007 11:26, Thomas Antony wrote:
>
> > 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
>
>   I think it's time to cut the gordian knot here.  Somehow your installation
> has got thoroughly busted; we could be here all week trying to find and fix it
> one problem at a time.
>
>   Re-run setup.exe.  Use the "install from local package directory" option.
> Click straight through to the chooser page.  Set the following packages to
> 'reinstall':
>
> gcc, gcc-core, any other installed language packages
> gcc-mingw, gcc-mingw-core, any other installed gcc-mingw languages
> mingw-runtime
> w32api
>
>   It would be helpful if you could run "cygcheck -c >a.txt" before doing so,
> "cygcheck -c >b.txt" afterwards, and then show us the output of "grep
> 'gcc\|mingw\|w32api' a.txt b.txt".  It would be good if we verify whether
> cygcheck spots these busted links and identifies them as a problem
>
>
>
>     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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019