This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


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

Re: Error about build and install GCC under i386


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/


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