Quoting Ian Lance Taylor <iant@xxxxxxxxxx>:
Christophe Jarry <christophe.jarry@xxxxxxxxxxx> writes:
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:
You need to first run configure in a new empty directory as described
in the gcc installation instructions. Then you can run "make info" in
the gcc subdirectory.
Ian
Thanks Ian, it seems to work when compiling from source code, in
gcc-4.4.3/ directory:
./configure
make info
Then, I have a gcc-4.4.3/gcc/doc/gcc.info file about 1.9M in size (ls
-s -h gcc.info).
Now, is it possible to build GCC documentation directly from
http://gcc.gnu.org/onlinedocs/docs-sources.tar.gz file, instead of
having to download GCC whole source code? From extracted
docs-sources.tar.gz file, I tried this:
cd gcc/gcc/doc
makeinfo -I include/ gcc.texi
But then, I have the following error message:
include//gcc-common.texi:12: @include `gcc-vers.texi': No such file
or directory.
gcc.texi:125: warning: undefined flag: version-GCC.
/cygdrive/d/cj/gnu-linux/gcc/gcc/doc//invoke.texi:1301: warning:
undefined flag: srcdir.
/cygdrive/d/cj/gnu-linux/gcc/gcc/doc//invoke.texi:1300: @include
`{No value for `srcdir'}/../libiberty/at-file.texi': No such file or
directory.
/cygdrive/d/cj/gnu-linux/gcc/gcc/doc//bugreport.texi:91: warning:
undefined flag: BUGURL.
makeinfo: Removing output file
`/cygdrive/d/cj/gnu-linux/gcc/gcc/doc/gcc.info' due to errors; use
--force to preserve.
Notes:
- there is no 'gcc-vers.texi' file in the entire gcc/ directory,
- there is an 'at-file.texi' in gcc/libiberty/, but I don't know how
to define 'srcdir' flag?
Thanks for your help,
Christophe
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.