gcc command-line option parsing doc
Ben Elliston
bje@au.ibm.com
Fri Dec 24 03:50:00 GMT 2004
Mathieu Lacage <Mathieu.Lacage@sophia.inria.fr> writes:
> I was trying to find my way in another piece of code and I ended up
> look at the command-line option parsing code. Here is a smallish bit
> you might consider adding to the internals doc. I have not figured
> out yet how the doc is built which is why this is not sent as a
> patch to the source files.
The documentation source files are in doc/*.texi. They are Texinfo
source files. You edit those using the Texinfo markup annotations,
documented in the Texinfo documentation (type "info texinfo" on a GNU
system).
To test your changes, you need to run "make info" in your build
directory, which will run `makeinfo' over the source files and produce
.info files.
To visually inspect the printed form of the documentation, run "make
dvi" and inspect the .dvi files using a DVI viewer like xdvi(1).
Ben
More information about the Gcc
mailing list