[ECOS] Having trouble building

Gary Parnes GaryP@logicpd.com
Tue Apr 20 20:47:00 GMT 2004


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[1]: Entering directory `/home/garyp/ev/hal/arm/arch/current'
arm-elf-gcc -finline-limit=7000 -mcpu=arm9 -Wall -Wpointer-arith
-Wstrict-protot
ypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections
-fdata-sec
tions -fno-rtti -fno-exceptions
-I/ecos-d/cygwin/home/garyp/ev/install/includ
e -I/ecos-d/cygwin/home/garyp/ecos/packages/hal/arm/arch/current
-I/ecos-d/cygwi
n/home/garyp/ecos/packages/hal/arm/arch/current/src
-I/ecos-d/cygwin/home/garyp/
ecos/packages/hal/arm/arch/current/tests -I. -Wp,-MD,arm.tmp -o
hal_mk_defs.tmp
-S
/ecos-d/cygwin/home/garyp/ecos/packages/hal/arm/arch/current/src/hal_mk_defs
.
c
cc1: unrecognized option `-Woverloaded-virtual'
cc1: unrecognized option `-fno-rtti'
make[1]: *** [arm.inc] Error 1
make[1]: 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.

This is using Cygwin as the build platform.

--Gary Parnes

SENIOR SOFTWARE ENGINEER

Logic Product Development
411 Washington Ave. North, Suite 101
Minneapolis, MN 55401

  Main: (612) 672-9495
Direct: (612) 436-5165



-- 
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 mailing list