Hi monkey:
I tried it again according to you but the result is same and failure, there was my steps:
1)nios2configtool --ptf=/.././../std_1c20.ptf --cpu=cpu and start the config diag.
2)choose the template "altera niosII board" and set "startup"=>"ROMRAM" ,SAVE the pjoject:" test" in the directory "h:/etest"
3)build->library
the building finished and no erro.
4)I copy all the files in the directory " /../../ecos_current/examples " to the " h:/etest"
5)change to the directory :cd h:/etest
6)in the directory , make INSTALL_DIR=/cygdrive/h/etest/test_install ,and the procedure is successful and a serials of *.o files were created.
7) "start=>program=>altera=>niosII IDE"
8)file=>new=>project
9) append "altera niosII " and choose "Advanced c/c++ Project" ,then click next
10)filled the niosII project 's name is: hello_ecos ,and unselect "use the default location" ,settintg it to "h:/etest" , which is the directory of the "ecos build project"
11)click next ,choose "maker builder" ,in the build command set "make INSTALL_DIR=/cygdrive/h/etest/test_install" and others did not change.
12)click "finish"
13)right click the niosii project "hello_ecos" and choose "build project" ,then the result is appear
make INSTALL_DIR=/cygdrive/h/etest/test_install all
make: *** No rule to make target `all'. Stop.
why wrong is it ?
I am crazy and the deadline is going. Can you or others help me?