[ECOS] patch for gcc

John Hsueh JHsueh@tridentmicro.com
Mon Feb 11 18:26:00 GMT 2002


Krishna,

Thanks for your advise, it works for me now.

I'm still trying to build the i386 minimal PC target using the latest source
from CVS, and I ran into the following problem. 

make[1]: Entering directory `/ecos-c/tmp/test00_build/hal/i386/pc/current'
cp: cannot create regular file
`/ecos-c/tmp/test00_install/include/pkgconf/mlt_i386_pc_rom.ldi': Permission
denied
make[1]: ***
[/ecos-c/tmp/test00_install/include/pkgconf/mlt_i386_pc_rom.ldi] Error 1

The following is the output of mount:
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
c:\cygwin\tmp on /tmp type user (binmode)
C:\cygwin on / type system (binmode)
c:\cygwin on / type user (textmode)
c: on /c type user (textmode)
c: on /ecos-c type user (textmode)
e: on /cygdrive/e type user (binmode,noumount)
u: on /cygdrive/u type user (binmode,noumount)

Please let me know if there is any step that I left out. Thanks.

John 

-----Original Message-----
From: venkatesh [mailto:venkatc@in.ceeyes.com]
Sent: Saturday, February 09, 2002 1:12 AM
To: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] 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
> >
> >
> >
>
>

Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list