Re: gcc.texi: problem generating documentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le Thu, 4 Mar 2010 05:17:39 -0800,
"John (Eljay) Love-Jensen" <eljay@xxxxxxxxx> a écrit :

> In the general case, you'll want to do this:
> 
> cd ~/gcc-4.4.3 (or wherever the gcc-4.4.3 source is located)
> mkdir ../gcc-4.4.3-build (peer build directory to gcc-4.4.3 source)
> cd ../gcc-4.4.3-build
> ../gcc-4.4.3/configure
> make info

I tried this, but got an error after invoking _make info_:

/home/christophe/gnewsense/projects/doc-rejected-by-debian/tmp/gcc-4.4.3/libgomp/configure:
line
2194: /home/christophe/gnewsense/projects/doc-rejected-by-debian/tmp/gcc-perso/./gcc/xgcc:
No such file or directory configure: error: in
`/home/christophe/gnewsense/projects/doc-rejected-by-debian/tmp/gcc-perso/mips64el-unknown-linux-gnu/libgomp':
configure: error: C compiler cannot create executables See `config.log'
for more details. make[1]: *** [configure-target-libgomp] Erreur 1
make: *** [do-info] Erreur 2


But, the good news is that invoking:

../gcc-4.4.3/configure
make info

did create _./gcc/gcc-vers.texi_. This allowed me to create 9
gcc.info* files from gcc's docs-sources.tar.gz at
http://gcc.gnu.org/onlinedocs/docs-sources.tar.gz and get rid of the
error I had previously, when building .info documentation from
docs-sources.tar.gz:

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.

I just made (from inside gcc-perso/ directory):

cp gcc/gcc-vers.texi ../gcc/gcc/
cd ../gcc/gcc/doc
makeinfo -I include -I ../ gcc.texi


I think the file gcc-vers.texi should be included by default in
docs-sources.tar.gz, this would save a lot of time.

For those interested, the content of my gcc-vers.texi is:

@set version-GCC 4.4.3
@clear DEVELOPMENT
@set
srcdir /home/christophe/gnewsense/projects/doc-rejected-by-debian/tmp/gcc-perso/gcc/../../gcc-4.4.3/gcc
@set VERSION_PACKAGE (GCC) @set BUGURL
@uref{http://gcc.gnu.org/bugs.html}

Christophe


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux