This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: gcc: installation problem, cannot exec 'cc1'
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Fri, 12 Jan 2007 03:33:27 -0000
- Subject: RE: gcc: installation problem, cannot exec 'cc1'
On 12 January 2007 03:17, Larry Hall (Cygwin) wrote:
> On 01/11/2007, Thomas Antony wrote:
>> Hello,
>> It still doesnt work. I reinstalled all the GCC and GCC-mingw
>> packages. The cc1.exe is present. But it still doesnt work.
>> Here is output of ls -l /usr/lib/gcc/i686-pc-mingw32/3.4.4/
>>
>> $ ls -l /usr/lib/gcc/i686-pc-mingw32/3.4.4/
>> total 1234
>> -rwxr-xr--+ 1 Tom Users 547 Jan 6 20:44 cc1.exe.lnk
>> -rwxr-xr--+ 1 Tom Users 567 Jan 6 20:44 cc1plus.exe.lnk
>> -rwxr-xr--+ 1 Tom Users 573 Jan 6 20:44 collect2.exe.lnk
>> -rwx------+ 1 Tom None 412 May 24 2005 crtbegin.o
>> -rwx------+ 1 Tom None 492 May 24 2005 crtend.o
>> drwxrwxr--+ 2 Tom Users 0 Jan 12 08:18 debug
>> drwxrwxr--+ 3 Tom Users 0 Jan 12 08:18 include
>> drwxrwxr--+ 3 Tom Users 0 Jan 12 08:18 install-tools
>> -rwx------+ 1 Tom None 52594 May 24 2005 libgcc.a
>> -rwx------+ 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
>> -rwxr-xr--+ 1 Tom Users 537 Jan 6 20:44 specs.lnk
>
> All your links have been incorrectly created or you're not using Cygwin's
> "ls".
Or he used windows explorer to recursively adjust the file attributes for
the whole tree, perhaps in an attempt to turn off the R/O flag. That turns
link files into .lnk files automanglicly. This /might/ just help:
cd /usr/lib/gcc/i686-pc-mingw32/3.4.4/
attrib +R '*.lnk'
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/