Linux内核使用Eclipse构建配置 [英] Linux Kernel's build configuration with Eclipse

查看:462
本文介绍了Linux内核使用Eclipse构建配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



如何使Eclipse了解在中设置为构建配置的内容? .config 分别 #define ed in include / linux / autoconf.h

我在Debian(stable)上使用Eclipse的Juno Service Release 1(Build id:20120920-0800)。



有用的将是项目基础上的 gcc 的选项 -include< file name> >

解决方案

看看这个过程来配置Eclipse来处理Linux内核。
http://wiki.eclipse.org/HowTo_use_the_CDT_to_navigate_Linux_kernel_source


I try to use Eclipse to browse the Linux Kernel sources.

How can I make Eclipse aware of what is set as build configuration in .config respectively #defineed in include/linux/autoconf.h?

I'm using Eclipse's Juno Service Release 1 (Build id: 20120920-0800) on Debian (stable).

Useful would be something like gcc's option -include <file name> on project base.

解决方案

Take a look at this procedure to configure Eclipse to work with the Linux kernel. http://wiki.eclipse.org/HowTo_use_the_CDT_to_navigate_Linux_kernel_source

这篇关于Linux内核使用Eclipse构建配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆