#topicpath
/////////////////////////////////////////////////////////////////////////////////
* 目次 [#n03b4ad5]
#contents();


/////////////////////////////////////////////////////////////////////////////////
* Cross Referencer とは [#ue3c3b07]
- ソースコードをインデックスし、webページとして閲覧出来るようにするシステム

/////////////////////////////////////////////////////////////////////////////////
* LXR [#lf87419a]
- [[The LXR Project Web-Site>http://lxr.sourceforge.net/en/index.php]]
- 

/////////////////////////////////////////////////////////////////////////////////
* {OpenGrok [#tadd984e]

//===============================================================================
** 参考リンク({OpenGrok) [#kf0ea412]
- [[{OpenGrok>https://opengrok.github.io/OpenGrok/]]
- [[OpenGrokでAndroidソースコード検索>http://qiita.com/sukaaaaaaaaa/items/67f613c037e6a5bb0078]]


/////////////////////////////////////////////////////////////////////////////////
* webcscope [#n26c2637]
- [[cscope>Prog/TagSystem#cscope]] に contrib として含まれている。

//===============================================================================
** 参考リンク(webcscope) [#s5abceb3]


/////////////////////////////////////////////////////////////////////////////////
* GCC-XML [#m70cd8f7]
//===============================================================================
** 導入 [#a622ed2f]
- debian の場合は、gccxml パッケージをインストールすると導入できる
 # aptitude install gccxml

//===============================================================================
** Options [#ud71a013]
- man 若しくは [[GCC-XMLのサイト>http://gccxml.github.io/HTML/Running.html]] にて。
- 実行書式
 $ gccxml [option...] <input-file> -fxml=<output-file>


//===============================================================================
** 実行 [#k6bfd2a6]
- 入力を雑に指定すると、Makefile などソースやヘッダでないものも真面目に読みに行き、そこでエラーになる。
- 独自定義型うまく解釈できない場合がある
-- typedef したものは、定義ヘッダが入力に含まれていればエラーにならない
-- #define したものは解釈出来なかった

- C++11 は解釈出来ない?
-- オプションを指定してもダメだった(パースエラーしていると思しき大量のエラーを吐く)
 $ gccxml --gccxml-compiler g++ --gccxml-cxxflags "-std=c++11"  *.cpp *.h -fxml=out.xml
-- 念の為、同じ環境の g++ の情報:
 $ g++ --version
 g++ (Debian 4.9.2-10) 4.9.2
 Copyright (C) 2014 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



//===============================================================================
** 参考リンク(GCC-XML) [#pa4b466b]
- [[GCC-XML>http://gccxml.github.io/HTML/Index.html]]
- [[gccxml を試してみた。 - お前の血は何色だ!! 4>http://d.hatena.ne.jp/rti7743/20100328/1269766629]]


/////////////////////////////////////////////////////////////////////////////////
* 参考リンク [#c22154b9]
- [[ソースコードを読むための技術>http://loveruby.net/ja/misc/readingcode.html]]

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS