This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Error about build and install GCC under i386
- To: cguwinds <cguwinds at mail2000 dot com dot tw>
- Subject: Re: [ECOS] Error about build and install GCC under i386
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Wed, 25 Jul 2001 19:16:25 +0100
- Cc: ecos-discuss at sourceware dot cygnus dot com
- Organization: Red Hat UK Ltd.
- References: <996029157.5103.cguwinds@mail2000.com.tw>
cguwinds wrote:
>
> Thank's Jifl to reply the "Warning about Building the tools".
> But when I redirect the output to the file,I find that there are still
> some errors that made the GCC unsuccessful.
> How to solve it?
Probably a line ending problem. Run this from a cygwin prompt:
cd /src/gcc/gcc-2.95.2
for i in `find . -type f` ; do
tr -d '\r' < $i > $i.new
mv $i.new $i
done
Note the use of backquotes on the second line, and apostrophes on the third
line.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions http://www.redhat-techworld.com/