devtools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
devtools [2009/08/19 11:18] – Improve the readability of this page. Learn Wiki Syntax as well. WojciechKoszekdevtools [2022/05/13 05:39] (current) – Add CScout link KubilayKocak
Line 7: Line 7:
 %%FreeBSD%% source tree. It shares some good development habits as %%FreeBSD%% source tree. It shares some good development habits as
 well. well.
 +
 +**Building binaries:**
 +
 +  * ''%%make(1)%%''
 +    * ''%%/usr/share/mk%%'' Provides %%FreeBSD%%-specific and general BSDmakefile libraries, which assist in building executables, libraries, managing installation, manual pages, etc.
  
 **Source code editing:** **Source code editing:**
Line 12: Line 17:
   * ''%%nvi(1)%%''   * ''%%nvi(1)%%''
  
-  * ''%%editors/vim%%'' %%<%%put some macros here>+  * ''%%editors/vim%%''
  
-  * ''%%editors/emacs%%'' %%<%%put some macros here>+    * ''%%/usr/src/tools/tools/editing/freebsd.vim%%'' Provides %%FreeBSD%%-specific settings for %%ViM%% 
 + 
 +%%<%%put some macros here> 
 + 
 +  * ''%%editors/emacs%%'' 
 + 
 +    * ''%%/usr/src/tools/tools/editing/freebsd.el%%'' Provides %%FreeBSD%%-specific settings for Emacs 
 + 
 +%%<%%put some macros here> 
 + 
 +  * ''%%editors/jed%%'' 
 +    * Provides very nice syntax highlighting.
  
 **Source code reading:** **Source code reading:**
Line 26: Line 42:
   * ''%%devel/cscope%%'' Lets you to quickly move between source code files. It builds a database of tags (similar to ctags), which is used later to jump between function prototypes/definitions.   * ''%%devel/cscope%%'' Lets you to quickly move between source code files. It builds a database of tags (similar to ctags), which is used later to jump between function prototypes/definitions.
  
-It can be easily integrated with vim(1) editor.+It can be easily integrated with vim(1) editor as well as Emacs (xcscope.el can be chosen as an option at ''%%cscope%%'' installation time). 
 + 
 +  * ''%%devel/cscout%%'' [[DiomidisSpinellis/CScout|CScout]] Analyzes source code and lets you to start local WWW server. Once it's done, you can move through your source-code base in a Web browser; it provides call graph generation and other enhencements. 
 + 
 +**Source code reading online:** 
 + 
 +  * [[http://fxr.watson.org]] Cross-referenced source code of various open source operating systems indexed in clickable manner. 
 + 
 +  * [[http://BXR.SU/|BXR.SU — Super User's BSD Cross Reference]] The same, but [[http://www.freebsd.org/news/status/report-2013-01-2013-03.html#BXR.SU-%E2%80%94-Super-User%27s-BSD-Cross-Reference|done differently]] (with %%OpenGrok%% software) 
 + 
 +**Code documenting:** 
 +  * ''%%/usr/src/tools/kerneldoc/subsys/%%'' Doxygen scripts. You can see HTML result here: [[http://www.leidinger.net/FreeBSD/dox/]], but please don't mirror this site. Index sources by yourself.
  
 **Additional tools:** **Additional tools:**
Line 36: Line 63:
 on git-related mailing lists. on git-related mailing lists.
  
-//If you're currently reading this page and you use tool that isn't mentioned// +//If you're currently reading this page and you use a tool that isn't mentioned// 
-//here but improves your code-writing tasks, either update the page or let me// +//here but improves your code-writing tasks, skills, either update the page or let me// 
-//know:// +//know (WojciechKoszek)//
- +
-wkoszek@freebsd.org+
  
  • devtools.1250680714.txt.gz
  • Last modified: 2009/08/19 11:18
  • by WojciechKoszek