先放截图,要不然大家看到代码头疼就看不到真相了。可以从Linux公社的资源服务器中下载打包的文件。 免费的
具体下载目录在 /2011年资料/嵌入式Linux/eCos Configuration Tool build on ubuntu 10.04 AMD64/

需要的资源
The following instructions assume that you are working at a bash prompt and that the GTK+ and Tcl libraries have been installed from your Linux distribution. First, extract the wxWidgets sources:
Configure wxWidgets for static linking without socket support, then build and install:
Configure, build and install the eCos host infrastructure:
Build and install the eCos Configuration Tool (INSTALLDIR must match the eCos host infrastructure prefix):
The eCos Configuration Tool binary should now be located at: ~/ecos-tools/bin/configtool
实际过程中,因为操作系统是64位的问题,会有int指针类型和tcl,tk的错误。
1)遇到tcl,tk错误的时候
你需要做如下的link
ricky@ricky-laptop:/usr/local/libexec/ecos/hal/synth/arch/share$ ls -al
总用量 8
drwxr-xr-x 2 root root 4096 2011-01-28 11:58 .
drwxr-xr-x 4 root root 4096 2011-01-28 11:45 ..
lrwxrwxrwx 1 root root 23 2011-01-28 11:58 tcl8.3 -> /usr/local/share/tcl8.3
lrwxrwxrwx 1 root root 22 2011-01-28 11:58 tk8.3 -> /usr/local/share/tk8.3
ricky@ricky-laptop:/usr/local/libexec/ecos/hal/synth/arch/share$