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]
Other format: [Raw text]

Re: patch for gcc


John,
Just check whether your '/' directory is in text mode.
If it is in bin mode, change it to text mode and I think this should work
for you.
With this all the parse errors have been solved for me also.

Krishna Mohan.

> > I have also just started installing ecos following Erik's instruction
> > yesterday, but ran into a different problem... I'm using gcc-2.95.2
> source,
> > but couldn't build gcc. It complained about "parse error" in i386elf.h.
My
> > environment is exactly the same as what Erik listed in his previous
email:
> >
> > Win2k professional
> > cygwin installed from internet with all the packages
> > Binutils 2.10.1   (from "mirror site for sources.redhat.com)
> > gcc-2.95.2 core and g++  (Same as above)
> > Insight 5.0   (Same as above)
> > gcc patch (applied in /src/gcc/gcc-2.95.2)
> > Insight 5.0 patch (applied in /src/gdb/insight-5.0)
> > contirb/egcs_update --touch (executed from /src/gcc/gcc-2.95.2)
> > I than followed the instructions on the "Building the Intel x86
> development
> > tools for Windows" page, binutils built with no problems.
> >
> > Please let me know if there is anything obvious that I missed. Thanks
> >
> > John
> >
> > -----Original Message-----
> > From: Erik Reikes [mailto:ereikes@hotmail.com]
> > Sent: Thursday, February 07, 2002 11:39 AM
> > To: Jing@vicom.com
> > Cc: ecos-discuss@sources.redhat.com
> > Subject: RE: [ECOS] patch for gcc
> >
> >
> > >I found the file in my directory:
> > >c:\mydata\src\gcc-2.95.3\contrib\egcs_update
> > >
> > >The same problem occurs if I execute ./egcs_update --touch.
> > >
> >
> > I'm really confused about your paths.  Is mydata your cygwin directory?
> > i.e. in cygwin can you type cd /src/gcc-2.95.3/contrib  and get
somewhere?
> >
> > I think you need a little refresher on how paths work in unix.
> egcs_update
> > is a script file and when you execute it you must specify which path it
is
> > in.  Try either of these two commands depending on where you've put
things
> .
> >
> > cd /src/gcc-2.95.3/contrib
> > ./egcs_update --touch
> >
> > or
> > cd /c/mydata/src/gcc-2.95.3/contrib
> > ./egcs_update --touch
> >
> > if the /c/ directory doesn't work, type 'mount' to figure out where your
> > windows drive is mounted.
> >
> > >Also, I can't find the file binutils-2.10.1.tar.bz2 on source.redhat, I
> > >downloaded the file binutils-2.11.1pre.tar.bz2,
> > >Is this the up to date version support arm-elf?
> >
> > Try www.gnu.org.  That is where I got old versions of binutils from.
> >
> > -Erik Reikes
> >
> > _________________________________________________________________
> > Send and receive Hotmail on your mobile device: http://mobile.msn.com
> >
> >
> >
>
>


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