I have installed eCos OS on a linux system (Ubuntu 13.02). After installation, the eCos files are located in opt/ecos
.
As I read the eCos tutorial, I see hello.c
is stored in opt/ecos/ecos-3.0/examples/hello.c
(And I notice that maybe all main eCos system files store in the ecos-3.0 directory).
I have followed the eCos tutorial found on the official website, but I still cannot successfully compile hello.c.
More detail. When I try to run :
$ export INSTALL_DIR=BASE_DIR/ecos-work/arm_install
$ TARGET-gcc -g -IBASE_DIR/ecos-work/install/include hello.c \
-LBASE_DIR/ecos-work/install/lib -Ttarget.ld -nostdlib
I get the error : TARGET-gcc : command not found
I have tried some other tutorials, but I'm still having issues (too messy to list here).
I am looking for step-by-step instruction on compiling hello.c
in eCos system. I see the eCos manual lacking in this area.
Thanks :)