This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

RE: Compiler Issue


>-----Original Message-----
>From: Surya Prakash [mailto:suryaprakash@multitech.co.in]
>Sent: 10 November 2001 01:34


>David Korn wrote:
>
>>   You must be using gcc under cygwin, and the source code 
>> must have PC-style CRLF line ends instead of unix style LF-only.
>
>No... I am working on a linux machine. And I am getting errors for the
>redboot sources downloaded from the CVS repository.

  Wow.  Well, that's real strange.  If I were you I'd still make sure what
kind of line ends they have by checking in a hex editor, since that error
*is* exactly what gcc does when it gets fed a CRLF instead of a LF.  Is it
possible the CVS client you used got them wrong somehow ?

> I just want to inform you also that I am not getting these parse errors,
>if  I use 'gcc' native compiler  from the Linux 7.1 version.

  Which version is that?  A lot of work was done on the pre-processor in
the 2.96->3.0.x development, and it may be that this version does accept
CRLF, whereas the old version in the 2.95.3 source that you used to build
your cross compiler still does not.


       DaveK
-- 
Burn your ID card!  http://www.optional-identity.org.uk/
Help support the campaign, copy this into your .sig!


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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