Re: Where can I download gcc info manuals?

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

 



Pankaj Jangid <pankaj@xxxxxxxxxxxxxxx> writes:
> Jonathan Wakely via Gcc-help <gcc-help@xxxxxxxxxxx> writes:
>>> Texinfo sources - https://gcc.gnu.org/onlinedocs/.
>>>
>>> Is there a location where I can download pre-built info manuals?
>>> Otherwise please let me know how to build from the Texinfo sources. The
>>> sources on the above website contain only .texi files but no
>>> makefiles. Only ’./gcc/jit’ has makefiles.
>>
>> You have to configure the sources first, which creates the makefiles.
>
> The Texinfo sources from the above link doesn’t have a ‘configure’
> script. Or did you mean the full ‘gcc’ sources?

Yeah, unfortunately it's not currently possible to configure just
the docs.  You need to configure the full source instead.  That's not
ideal because configure will enforce things you don't care about, such
as the versions of the gmp, mpc and mpfr libraries.

The only relevant thing that configure does for .info files is create
a gcc-vers.texi file like the one attached.  You should be able to build
the docs separately by saving this file to a directory (lets call it
/foo) and running commands like this from within the doc/ directory

  makeinfo --split-size=5000000 --no-split -I /foo -I . -I include -o /foo/gccint.info gccint.texi

and similarly for the other top-level .texi files.  The full list of
top-level .texi files is:

  cpp.texi
  cppinternals.texi
  gcc.texi
  gccinstall.texi
  gccint.texi

There are then other language-specific files in other directories,
e.g. gfc-internals.texi and gfortran.texi in fortran/

Sorry that this isn't very convenient.

Richard


Attachment: gcc-vers.texi
Description: TeXInfo document


[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