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: Problems with gcc-3.0.3 building arm toolchain


I think the recommended tools might still be the 2.9x stuff. And,
really, this isn't an eCos issue. But i've built gcc 3.0.3 without a
hitch on cygwin so chances are you are missing something.

You probably need to change more than just the gcc packages. i.e. you'll
want to build binutils 2.11.2 with this, and you'll probably want to
build insight 5.1.1 with this too (since it appears to handle gcc 3.x
generated code better).

That being said, i suggest reading through the following email on how to
build a cross toolchain. Note that the symlinking he suggests didn't
work for me on cygwin, but you can get the same effect by untarring the
first package, renaming the directory, untarring the second, etc.

http://gcc.gnu.org/ml/gcc-help/2001-11/msg00221.html

If you have more problems, you should probably hit one of the gcc lists.

> -----Original Message-----
> From: Igor Trevisan [mailto:igor.trevisan@bluewind.it]
> Sent: Friday, February 08, 2002 5:59 AM
> To: ecos-discuss@sources.redhat.com
> Subject: [ECOS] Problems with gcc-3.0.3 building arm toolchain
> 
> 
> Hi all!
> 
> I'm trying to build the arm-toolchain for an arm-elf target
> under cygwin, running under Win2K. I followed step by step the 
> instruction 
> I found on eCos site. The only change I made was to use
> gcc-core-3.0.3.tar.gz and gcc-g++-3.0.3.tar.gz instead of the
> previous version (2.95) files.
> Building binutils doesn't give any problem.
> But the make operations end with the following error messages:  
> 
> 
> In file included from /usr/src/gcc303_obj/include/syslimits.h:7,
>                       from /usr/src/gcc303_obj/include/limits.h:11,
> 			     from ../../gcc-3.0.3/gcc/libgcc2.c:1166:
> /usr/src/gcc303_obj/include/limits.h:125:75: No include path in 
> whichto find limits.h
> make[2]: *** [libgcc/./_fixunsdfsi.o] Error 1
> make[2]: Leaving directory '/usr/src/gcc303_obj/gcc'
> make[1]: *** [stmp-multilib] Error 2
> make[1]: Leaving directory '/usr/src/gcc303_obj' 
> make: *** [all-gcc] Error 2
> make: Leaving directory '/usr/src/gcc303_obj'
> 
> Does anyone know a possible reason for this?
> And... does he also know a possible solution?!
> Thanks in advance...
> 	Igor.
> 
> P.S. I sent an incomplete copy of this mail to the list
>        yesterday: sorry for this!
> 
> 
> -----------------------------------------------------------------
> BlueWind          Embedded Systems Design
> Via Steffani 7/B
> 31033 Castelfranco Veneto (TV)
> -----------------------------------------------------------------
> Office  +39 0 423 723431
> Fax     +39 0 423 744738
> Mobile  +39 335 7298820
> 
> mailto:igor.trevisan@bluewind.it
> http://www.bluewind.it
> ----------------------------------------------
> 
> 


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