This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc command-line option parsing doc


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]