Chinaunix首页 | 论坛 | 博客
  • 博客访问: 988668
  • 博文数量: 102
  • 博客积分: 10120
  • 博客等级: 上将
  • 技术积分: 2754
  • 用 户 组: 普通用户
  • 注册时间: 2006-09-13 23:00
文章分类

全部博文(102)

文章存档

2011年(6)

2010年(55)

2009年(16)

2008年(25)

分类: LINUX

2008-03-21 17:04:54

文件:Eclipse_building_system_investigation_report.pdf
大小:441KB
下载:下载

Eclipse building system investigation report

by Rockins Chen<>, 03/21/08


What's the target of this investigation?

A: Investigate whether there's a mechanism in Eclipse, which can ease the source tree building pain in Linux.

Can eclipse do building task?

A: Yes, of course. It does, indeed.

What is needed to build?

A: Usually GNU make or other equivalence. Besides, you have to install CDT plug-in for eclipse.

Can eclipse generate Makefile automatically?

A: Yes.

Can user write customized Makefile manually?

A: Yes.

Can eclipse build kernel module?

A: Yes. Since eclipse does not care about what you're doing, all its work is calling make to execute the Makefile/makefile.

Is there any button or short key for building?

A: Yes. You can customize the building feature as a button.

Is there anything should be taken care of?

A: Following rule is very important: When writing a makefile manually, you must make sure that the beginning of an action line is started by a TAB. In most situations, eclipse editor choose to replace TAB with 4/8 SPACE. So, if you end up with following error message when building a C/C++ project:

Makefile:2: *** missing separator. Stop.

You must first check whether the TAB is replaced by SPACE. If so, then you should go to Window->Preferences->General->Editors->Text Editors page, toggle the “Insert spaces for tabs” option off.

阅读(1395) | 评论(0) | 转发(0) |
0

上一篇:没有了

下一篇:[zt]春晚《百年圆梦》

给主人留下些什么吧!~~