Lost tcl of compile ecos2.1

Case: Lost tcl of compiling ecos2.1

Issue:

.15.1.6-Sep-18-2013/iros/install” “$XPWD”
heapgen.tcl: cannot find Tcl shell
makefile:48: recipe for target ‘heaps.cxx’ failed

/home/ruanxi/Project/CS8032/iros-tools/gnutools/bin/../lib/gcc/arm-elf/3.4.2/../../../../arm-elf/bin/ld: cannot open linker script file target.ld: No such file or directory

System:

Ubuntu server

Linux RUBS 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Solution:

sudo apt-get install tcl