Hi Vinay Vinay R Patil wrote:
> i got eCOS, version from OpenRISC repository, and tool chains also from same > > i ran below command to do > > ecosconfig target orp > ecosconfig tree > make > > then i stuck with below error, after browsing through some forums > found that, Open RISC doesnt support C++, > > Any idea for the source of error? [ snip ] > `/opt/OR1x00/trunk/ecos-2.0/or32/services/memalloc/common/v2_0' > or32-elf-gcc -msoft-float -Wall -Wpointer-arith -Wstrict-prototypes > -Winline -Wundef -Woverloaded-virtual -g -O2 -fno-omit-frame-pointer > -fno-rtti -fno-exceptions -fvtable-gc -finit-priority > -I/opt/OR1x00/trunk/ecos-2.0/or32/install/include > -I/opt/OR1x00/trunk/ecos-2.0/packages/services/memalloc/common/v2_0 > -I/opt/OR1x00/trunk/ecos-2.0/packages/services/memalloc/common/v2_0/src > -I/opt/OR1x00/trunk/ecos-2.0/packages/services/memalloc/common/v2_0/tests > -I. -Wp,-MD,heapgen.tmp -E > /opt/OR1x00/trunk/ecos-2.0/packages/services/memalloc/common/v2_0/src/heapgen.cpp > -o heapgeninc.tcl > or32-elf-gcc: > /opt/OR1x00/trunk/ecos-2.0/packages/services/memalloc/common/v2_0/src/heapgen.cpp: > C++ compiler not installed on this system > make[1]: *** [heapgeninc.tcl] Error 1 > make[1]: Leaving directory I expect the toolchain you are using was configured without C++ language support. You can confirm this using the following command: or32-elf-gcc -v There are some notes for building an or32-elf toolchain (based on GCC 3.2.3) for use with eCos at: http://www.zubira.com/openrisc/or1kecos.html I hope that helps... John Dallaway eCos maintainer -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss