global +fixfox 源代码查看

转载:http://www.gnu.org/software/global/globaldoc.html#SEC2

3.8 Hypertext generator

You can use GLOBAL's facilities from web browsers.

3.8.1 Features

  • Htags makes a hypertext from C, C++, Yacc and Java source files.
  • Once the hypertext is generated, you need nothing other than a web browser.
  • You can move the hypertext to anywhere. It is independent of the source code.
  • You can use all of your browser's functions, such as search, history, bookmark, save, frames, windows, etc.

3.8.2 Preparation

At first, you must ensure that you have a lot of disk space for hypertext. For example, FreeBSD 7.0 kernel source code (123MB) requires disk space from 600 to 1200MB.

    source code(/usr/src/sys)            123MB
GPATH,GTAGS,GRTAGS,GSYMS 72MB

hypertext (with no option) 645MB
hypertext (with -s option) 1168MB
hypertext (with -D option) 383MB
hypertext (with -s and -D option) 616MB

Please invoke gtags(1)(see section 5.2 gtags - create tag files for global. ) and htags(1)(see section 5.3 htags - generate hypertext from source code. ) in order like this:

    (at the root directory of your source project)
$ gtags # make tag files(GTAGS,GRTAGS,GSYMS)
$ htags # make hypertext(HTML/)

Then you will find a directory named `HTML' in the current directory.

Htags has rich options. If you are new on htags then you are recommended to use the `--suggest' option. This option makes some popular options effective, and invokes gtags(1) if there is no tag files.

    $ htags --suggest

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值