5

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

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

我在 Debian(稳定版)上使用 Eclipse 的 Juno Service Release 1(内部版本号:20120920-0800)。

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

4

1 回答 1

4

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

于 2012-10-17T08:39:05.267 回答