From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6368 invoked by alias); 4 Mar 2010 12:55:21 -0000 Received: (qmail 6355 invoked by uid 22791); 4 Mar 2010 12:55:20 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from admin1.ocsa-data.net (HELO admin1.ocsa-data.net) (194.36.166.2) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 04 Mar 2010 12:55:16 +0000 Received: from www by admin1.ocsa-data.net with local (Exim 4.66 (FreeBSD)) (envelope-from ) id 1NnAa9-0007CI-Nx for gcc-help@gcc.gnu.org; Thu, 04 Mar 2010 13:55:13 +0100 Received: from 217.108.146.181 ([217.108.146.181]) by horde.ocsa-data.net (Horde MIME library) with HTTP; Thu, 04 Mar 2010 13:55:13 +0100 Message-ID: <20100304135513.nouxbixggk0sg04o@horde.ocsa-data.net> Date: Thu, 04 Mar 2010 12:55:00 -0000 From: christophe.jarry@ouvaton.org To: gcc-help@gcc.gnu.org Subject: Re: gcc.texi: problem generating documentation References: <20100303124143.slx1yy4z6sk48c08@horde.ocsa-data.net> <20100304000717.3abac085@yeeloong.unassigned-domain> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) / FreeBSD-6.2 X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2010-03/txt/msg00062.txt.bz2 Quoting Ian Lance Taylor : > Christophe Jarry 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=20=20 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=20=20 -s -h gcc.info). Now, is it possible to build GCC documentation directly from=20=20 http://gcc.gnu.org/onlinedocs/docs-sources.tar.gz file, instead of=20=20 having to download GCC whole source code? From extracted=20=20 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=20=20 or directory. gcc.texi:125: warning: undefined flag: version-GCC. /cygdrive/d/cj/gnu-linux/gcc/gcc/doc//invoke.texi:1301: warning:=20=20 undefined flag: srcdir. /cygdrive/d/cj/gnu-linux/gcc/gcc/doc//invoke.texi:1300: @include=20=20 `{No value for `srcdir'}/../libiberty/at-file.texi': No such file or=20=20 directory. /cygdrive/d/cj/gnu-linux/gcc/gcc/doc//bugreport.texi:91: warning:=20=20 undefined flag: BUGURL. makeinfo: Removing output file=20=20 `/cygdrive/d/cj/gnu-linux/gcc/gcc/doc/gcc.info' due to errors; use=20=20 --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=20=20 to define 'srcdir' flag? Thanks for your help, Christophe ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.