Linux Kernel 使用 Eclipse 的构建配置

alk*_*alk 5 c eclipse linux-kernel

我尝试使用 Eclipse 浏览 Linux 内核源代码。

如何让 Eclipse 知道.config分别#define在 ed in 中设置为构建配置的内容include/linux/autoconf.h

我在 Debian(稳定版)上使用 Eclipse 的 Juno Service Release 1(构建 ID:20120920-0800)。

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

Fed*_*ico 4

查看此过程来配置 Eclipse 以与 Linux 内核配合使用。 http://wiki.eclipse.org/HowTo_use_the_CDT_to_navigate_Linux_kernel_source