Forum Discussion
Altera_Forum
Honored Contributor
21 years agoecos on niosii
Helo: I am a fresher in using ecos on niosII IDE ,yesterday I design a program ,when I configurate the project ,A dialogule about conflicts are appeared and four conflict were found but the...
Altera_Forum
Honored Contributor
21 years agoHello rugbybloke:
when I secondly used configation tools to builde the project ,I found the problem last posted appeared ,it was said that the promble was not fixed yet. Additional , when I change the path of the user tools (which is listed :TOOLS->Paths->user tool) ,in default ,the path=d:\nios2\bin\nios2-gnutools\H-i686-pc-cygwin\bin ,and the result is that "make: Entering directory `/cygdrive/d/nios2/components/ecos/ecos-work/ai_build' make -r -C hal/nios2/arch/v2_0 headers make[1]: Entering directory `/cygdrive/d/nios2/components/ecos/ecos-work/ai_build/hal/nios2/arch/v2_0' ÃüÁîÓï·¨²»ÕýÈ·¡£(syntax of the command is incorrectness) make[1]: Leaving directory `/cygdrive/d/nios2/components/ecos/ecos-work/ai_build/hal/nios2/arch/v2_0' sed: -e expression# 1, char 11: Unknown option to `s' make: Leaving directory `/cygdrive/d/nios2/components/ecos/ecos-work/ai_build' make[1]: *** [/cygdrive/d/nios2/components/ecos/ecos-work/ai_install/include/cyg/hal/alt_types.h] Error 1 make: *** [headers] Error 2 make --directory "/cygdrive/d/nios2/components/ecos/ecos-work/ai_build" " but when i changed the path of user tools:path=d:\altera\quartus41\bin\cygwin\bin the result is below: "make[1]: Entering directory `/cygdrive/d/nios2/components/ecos/ecos-work/ai_build/hal/nios2/arch/v2_0' make[1]: *** [/cygdrive/d/nios2/components/ecos/ecos-work/ai_install/include/cyg/hal/system.h] Error 127 nios2-elf-gcc -E -P -Wp,-MD,target.tmp -DEXTRAS=1 -xc -I/cygdrive/d/nios2/components/ecos/ecos-work/ai_install/include -I/cygdrive/d/nios2/components/ecos/ecos-2.0/packages/hal/nios2/arch/v2_0 -I/cygdrive/d/nios2/components/ecos/ecos-2.0/packages/hal/nios2/arch/v2_0/src -I/cygdrive/d/nios2/components/ecos/ecos-2.0/packages/hal/nios2/arch/v2_0/tests -I. -g -O3 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -DSYSTEM_BUS_WIDTH=32 -mno-hw-mul -o /cygdrive/d/nios2/components/ecos/ecos-work/ai_install/gtf-launch /cygdrive/d/nios2/components/ecos/ecos-2.0/packages/hal/nios2/arch/v2_0/src/gtf-launch.in make: *** [build] Error 2" as same as before. what is wrong with me ,and which path of the user tools is right? Meanwhile ,whether I should install another Cygwin to the system? and how can i get the detial information of the error ,such as error 127,1 etc. I am crazy , I don't know how to reslove it ,all the configation are executed according to the ecos 2.0 for niosII docs. help me ,my God!