gcc.texi: problem generating documentation

Christophe Jarry christophe.jarry@ouvaton.org
Wed Mar 3 23:07:00 GMT 2010


Le Wed, 03 Mar 2010 07:43:45 -0800,
Ian Lance Taylor <iant@google.com> a écrit :

> christophe.jarry@ouvaton.org writes:
> 
> > I am contributing to the gNewSense project and I am currently
> > looking for a way to create GCC documentation in info format for
> > metad version of gNewSense.
> >
> > I found GCC documentation source at
> > http://gcc.gnu.org/onlinedocs/docs-sources.tar.gz, then extracted it
> > under /tmp.
> >
> > But I have a problem when I want to makeinfo 'gcc.texi' file:
> >
> >   user@machine /tmp/gcc/gcc/doc
> >   $ makeinfo gcc.texi
> >   gcc.texi:25: @include 'gcc-common.texi': No such file or directory
> >   [...]
> 
> To make the gcc info files, download the gcc sources and run "make
> info".

I did this in 'gcc-4.4.3/gcc/doc' folder extracted from gcc source, as
well as in 'gcc/gcc/doc' folder extracted from gcc _doc_ source:

  make info

And I have the following error message in both situations:

  make: *** No rule to make target 'info'. Stop.


Note: gcc-4.4.3/gcc/doc as well as gcc/gcc/doc contain only one makefile
namely 'makefile.texi'.

> Or if docs-sources.tar.gz contains a Makefile--I haven't
> looked and I don't know what creates that tar file--try running "make
> info" with the sources you have.
> 
> Ian



More information about the Gcc-help mailing list