This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.3.20 gcc cannot exec cc1 update


On Fri, Mar 07, 2003 at 01:23:22PM +0100, Michael Graff Andersen wrote:
>Hello
>
>I have made a little progress, I found mail about a problem similar to 
>mine
>
>The solution was:
>chmod a+x /bin
>chmod a+x /lib/gcc-lib/i686-pc-cygwin/3.2/
>
>now I get 
>gcc hello.c -o hello
>/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld: 
>cannot open crt0.o: No such file or directorycollect2: ld returned 1 exit 
>status
>
>Should ../../../../i686-pc-cygwin/bin/ld be /usr/bin/ld ?
>
>Any info/idea's will appreciated

Perhaps if you'd read the man page for chmod, a solution would have presented
itself to you.

cd /
chmod -R a+r .
chmod -R a+x bin sbin usr/sbin usr/local/bin lib/gcc-lib/*.exe usr/X11R6/bin
      ^^

You apparently missed the "-R" part.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]