This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

Re: Internal compiler error (cygwin)


On Sun, Apr 01, 2001 at 03:20:41AM +0100, Dave Korn wrote:
>
>----- Original Message -----
>From: "Christopher Faylor" <cgf@redhat.com>
>Sent: Sunday, April 01, 2001 2:43 AM
>
>> The last 2.95.2 version of gcc was -9.
>>
>> The current cygwin version of gcc is actually 2.95.3-1.  2.95.3-2 is a
>> "testing release".
>
>  Fast work!
>
>> I wonder if this is a #!!&# CRLF problem.
>
>These crop up in the most mysterious places.....  has anyone looked
>into the notion of making gcc drop CRs ?  Is there some reason I
>haven't considered why it wouldn't be as simple as that ?

I think that the gcc trunk and 3.0 do drop CRs.  2.95.2 didn't do this
but DJ Delorie provided some patches to do it in the Cygwin releases.

Hmm.  I wonder if these made it into 2.95.3.

(rustle, rustle, rustle)

Yep.  They should be there:

    % grep O_TEXT *.c
    cccp.c:#ifndef O_TEXT
    cccp.c:#define O_TEXT 0
    cccp.c:  } else if ((f = open (in_fname, O_RDONLY|O_TEXT, 0666)) < 0)
    cccp.c:   pcf = open (pcftry, O_RDONLY|O_TEXT, 0666);
    cccp.c:    fd = open (fname, O_RDONLY|O_TEXT, 0);
    gcc.c:#ifndef O_TEXT
    gcc.c:# define O_TEXT 0
    gcc.c:  desc = open (filename, O_RDONLY | O_TEXT, 0);

So, I lied.  There are some extra bug fixes for the Cygwin release.  This
doesn't mean that there isn't still some issue with CRLF despite the above,
though.

cgf


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