I already used genref to generate index, but while i view code in web page, i can not see any superlink in page file. does anyone can tell me why?
my environment is windows xp, activeperl, apache, lxr0.3. and the content of lxr.conf is shown below,
# Configuration file.
# Define typed variable "v", read valueset from file.
variable: v, Version, ,
# Define typed variable "a". First value is default.
variable: a, Architecture, (i386, alpha, m68k, mips, ppc, sparc, sparc64)
# Define the base url for the LXR files.
# These are the templates for the HTML heading, directory listing and
# footer, respectively.
# The source is here.
# "#include <foo.h>" is mapped to this directory (in the LXR source
# The database files go here.
# Glimpse can be found here.
# The power of regexps. This is pretty Linux-specific, but quite
# useful. Tinker with it and see what it does. (How's that for
map: /include/asm*/ /include/asm-$a/
map: /arch/+/ /arch/$a/
I am very sorry for not having noticed there was an unanswered help request.
LXR 0.3 is very old, years before I took responsability for LXR. Many things have changed, notably configuration. So have a try to LXR 1.0. I admit its installation is Linux oriented and, from what I see above, you might have to edit file paths in lxr.conf to prefix them with C:
The main difference with 0.3 is you now need to install a database manager such as MySQL or PostgreSQL. For a small personal source-tree, you can also use SQLite, but it is not sensible for big projects.
Apparently, you try to cross-reference a Linux kernel. This is the most challenging configuration procedure to get it right. Have a look at the "Tips" page on http://lxr.sourceforge.net. A kernel configuration script comes with LXR 1.0 to facilitate this task.
What do you mean by "superlink"? Hyperlinks for variables and functions? Hyperlinks for #include files?
Log in to post a comment.