"C" compiler is broken under 1.7.1-1

Dave Korn dave.korn.cygwin@googlemail.com
Mon Dec 28 20:10:00 GMT 2009


Paul McFerrin wrote:
> $ cat test101.c main(){}
> 
> $ cc -O test101.c 
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: 
> crt0.o: No such file: No such file or directory collect2: ld returned 1
> exit status
> 
> find /usr/lib/gcc -type f -name crt0.o -print $

  You're looking in the wrong place; it should just be in /usr/lib.

> File crt0.o is missing.  Is it supposed to be?

  Nope.  It's part of the main cygwin package itself; try reinstalling that
if it is indeed missing.

    cheers,
      DaveK


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list