1.安装eclipse
2.安装sdcc
在ubuntu software centter 直接找到sdcc并安装
3.安装eclipse的sdcc插件
到http://sourceforge.net/projects/eclipse-sdcc/?source=dlp下载eclipse sdcc插件
解压得到两个文件夹(features 、plugins);
1).将features里的所有文件拷贝到eclipse的安装目录中的features文件夹中
2).将plugins里的所有文件拷贝到eclipse的安装目录中的plugins文件夹中
4.打开eclipse
1)新建工程:file->New->C Project
4.ihx格式转换为hex格式
在工程右键->Properties
packihx helloworld.ihx > helloworld.hex 其中helloworld换成你工程的名字
5.建.c就可以开发了