[ECOS] patch for gcc

John Hsueh JHsueh@tridentmicro.com
Fri Feb 8 15:51:00 GMT 2002

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


-----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:
>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

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

More information about the Ecos-discuss mailing list