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: gcc not producing executables


Hi,

Stephano Mariani wrote:

> Have you installed binutils?

Yes,

$ cygcheck.exe -s|grep binutils
binutils            20011002-1

    B. Matthys.

> -----Original Message-----
> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf
> Of Syzop
> Sent: Monday, 24 December 2001 7:14
> To: cygwin@cygwin.com
> Subject: gcc not producing executables
>
> Hi,
>
> guess this is a stupid question but I've no idea what could be wrong
> since gcc doesn't even say anything :(. I was trying to upgrade from ???
> (not too old) to the newest version and now gcc stopped working, I then
> removed the whole c:\cygwin dir and reinstalled the newest version, but
> still get the same:
>
> syzop@SYZ ~
> $ cat >bla.c
> int main() { printf ("Test\n"); }
> *ctrl d*
>
> syzop@SYZ ~
> $ gcc -o bla bla.c
>
> syzop@SYZ ~
> $ ls -al
> total 1
> drwxr-xr-x    2 syzop    None            0 Dec 24 18:27 .
> drwxr-xr-x    3 syzop    None            0 Dec 24 18:27 ..
> -rw-r--r--    1 syzop    None           35 Dec 24 18:34 bla.c
>
> syzop@SYZ ~
> $ gcc -v
> Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/specs
> gcc version 2.95.3-5 (cygwin special)
>
> I've been trying to strace the stuff and I get pretty much of, this:
> 1403 2444959 [main] collect2 1084 symlink_info::check:
> GetFileAttributesA (C:\cygwin\blablablaetc) failed (also of bla.exe
> which should be written), don't know if that's the cause of the problem.
>
> I hope somebody can help me,
>
>     B. Matthys.
>
> PS: Please CC as I'm not subscribed to the list


--
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]