This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc command-line option parsing doc
- From: Ben Elliston <bje at au dot ibm dot com>
- To: gcc at gcc dot gnu dot org
- Date: 24 Dec 2004 14:45:29 +1100
- Subject: Re: gcc command-line option parsing doc
- References: <1103792114.9096.49.camel@chronos.inria.fr>
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