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

See the CrossGCC FAQ for lots more infromation.


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

RE: Error when building gcc for PowerPC (eCos) under windows NT


>-----Original Message-----
>From: Daniel Lind [mailto:daniel.lind@sth.frontec.se]
>Sent: 06 September 2000 12:34
>To: crossgcc@sourceware.cygnus.com
>Subject: Error when building gcc for PowerPC (eCos) under windows NT
>
>
>I have problem when building gcc for powerpc under windows NT.
        <snip>
>/src/gcc/gcc-2.95.2/gcc/reload1.c:9795: stray '\' in program
        <snip>
>What is the problem with reload1.c? 

  Nothing's wrong with reload1.c, except that it seems to have MS-DOS
style end-of-line (CRLF) when cygwin requires Unix style (LF).

>What shall I do?

  Either run all the files through a dos -> unix EOL convertor,
or mount the source code directory in text mode. (NB: very 
important that you build in a separate directory that is *NOT*
mounted in text mode, or your .o files will get mangled!)

  It is possible that you used WinZip to unpack the tarball.
Ideally you shouldn't do that at all, but if you must, make
sure that in the Options/Configuration dialog, on the Miscellaneous
tab, the checkbox next to "TAR file smar CR/LF conversion" is
*NOT* ticked.

  This sort of thing is covered in the FAQ, IIRC.

    hth,
         DaveK
-- 
Event being observed is indistinguishable from the observer.
	-- Schrödinger's cat 


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