- ailuojue个人认证 |
- 2021-04-10 发布|
- 19.51 KB|
linux 下替代 source insight 的强大工具
1)在 Linux 下的 SourceInsight--CscopeUsing Cscope
on large projects (example: the Linux kernel)Cscope can be a particularly useful tool if you need to wade into alarge code base. You can save yourself a lot of time by being able todo fast, targeted searches rather than randomly grepping through thesource files by hand (especially since grep starts to take a while witha truly large code base).
In this tutorial you'll learn how to setup Cscope with a large project. We'll use as our example the Linuxkernel source code, but the basic steps are the same for any otherlarge project, including C++ or Java projects.Get the source.First get the source code. You can download the Linux kernel source from http://www.kernel.org. For the rest of this tutorial, I&apo