Hi, I trying to build the ecos with arm-elf-gcc 4.1.1, I am getting following errors : ====================================================================== cc1: warning: command line option "-Woverloaded-virtual" is valid for C++/ObjC++ but not for C cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C cc1: warning: command line option "-fvtable-gc" is valid for C++/ObjC++ but not for C /ecos-e/work/ecos/ecos-2.0_cygwin/ecos-2.0/packages/io/serial/v2_0/src/common/haldiag.c: In function 'haldiag_getc': /ecos-e/work/ecos/ecos-2.0_cygwin/ecos-2.0/packages/io/serial/v2_0/src/common/haldiag.c:122: warning: pointer targets in passing argument 1 of 'hal_if_diag_read_char' differ in signedness arm-elf-ar rcs /ecos-e/work/ecos/ecos-2.0_cygwin/ecos-2.0/ecos_4_1_1_install/lib/libextras.a src/common/io_serial_serial.o src/common/io_serial_tty.o src/common/io_serial_haldiag.o make[1]: Leaving directory `/ecos-e/work/ecos/ecos-2.0_cygwin/ecos-2.0/ecos_4_1_1_build/io/serial/v2_0' make -r -C infra/v2_0 build make[1]: Entering directory `/ecos-e/work/ecos/ecos-2.0_cygwin/ecos-2.0/ecos_4_1_1_build/infra/v2_0' arm-elf-gcc -c -I/ecos-e/work/ecos/ecos-2.0_cygwin/ecos-2.0/ecos_4_1_1_install/include -I/ecos-e/work/ecos/ecos-2.0_cygwin/ecos-2.0/packages/infra/v2_0 -I/ecos-e/work/ecos/ecos-2.0_cygwin/ecos-2.0/packages/infra/v2_0/src -I/ecos-e/work/ecos/ecos-2.0_cygwin/ecos-2.0/packages/infra/v2_0/tests -I. -I/ecos-e/work/ecos/ecos-2.0_cygwin/ecos-2.0/packages/infra/v2_0/src/ -mcpu=arm9 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -Wp,-MD,src/startup.tmp -o src/infra_startup.o /ecos-e/work/ecos/ecos-2.0_cygwin/ecos-2.0/packages/infra/v2_0/src/startup.cxx cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++ cc1plus: warning: switch '-fvtable-gc' is no longer supported make[1]: Leaving directory `/ecos-e/work/ecos/ecos-2.0_cygwin/ecos-2.0/ecos_4_1_1_build/infra/v2_0' /ecos-e/work/ecos/ecos-2.0_cygwin/ecos-2.0/ecos_4_1_1_install/include/cyg/kernel/thread.hxx:315: error: extra qualification 'Cyg_Thread::' on member 'reinitialize' make: Leaving directory `/ecos-e/work/ecos/ecos-2.0_cygwin/ecos-2.0/ecos_4_1_1_build' make[1]: *** [src/startup.o.d] Error 1 make: *** [build] Error 2 =========================================================
Any help will be really appreciated. Cheers, Venu -- View this message in context: http://www.nabble.com/eCos-and-GCC-4.1.0-tp3576883p14330913.html Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com. -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
