[ECOS] Having trouble building
Tue Apr 20 23:10:00 GMT 2004
On Tue, 2004-04-20 at 10:30, Gary Parnes wrote:
> I'm trying to build eCos for the Innovator platform using a fresh checkout
> (using arm-elf-gcc version 3.2), and I'm not getting very far.
> Using the precompiled ecosconfig binary from the standard distribution:
> $ ecosconfig new innovator default
> $ ecosconfig tree
> $ make
> And lo and behold...
> make -r -C hal/arm/arch/current arm.inc
> make: Entering directory `/home/garyp/ev/hal/arm/arch/current'
> arm-elf-gcc -finline-limit=7000 -mcpu=arm9 -Wall -Wpointer-arith
> ypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections
> tions -fno-rtti -fno-exceptions
> e -I/ecos-d/cygwin/home/garyp/ecos/packages/hal/arm/arch/current
> ecos/packages/hal/arm/arch/current/tests -I. -Wp,-MD,arm.tmp -o
> cc1: unrecognized option `-Woverloaded-virtual'
> cc1: unrecognized option `-fno-rtti'
> make: *** [arm.inc] Error 1
> make: Leaving directory `/home/garyp/ev/hal/arm/arch/current'
> make: *** [build] Error 2
> What's going on here? I thought rules.mak got rid of -Woverloaded-virtual
> and such when compiling straight C code.
Those flags are mentioned directly in the innovator CDL - they probably
should not be.
Also note: the comment in 'ecos.db' says that this platform is not fully
eCos-ready, only RedBoot is supported, so I'm not sure what success you
will have overall. (n.b. I've not tried this platform at all, so the
comments may be out of date w.r.t. the actual port)
Gary Thomas <firstname.lastname@example.org>
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss