This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How to get anchors to onlinedocs that can be used in external documents?

How to add an anchor to one of the onlinedocs texi documents?

Suppose I'd like to add an HTML anchor to one of the onlinedocs, for example to link it from the gcc release notes.

Currently the only anchors are either auto-generated and contain some hashes (hence not usable from external documents) or are trivial like:


and are always pointing to the top of the respective HTML page.

How can I get an anchor to, say, a subsection without fragmenting the respective HTML document into dozens of individual documents and thereby changing the document layout, which is not what I want.

Examples as listed in the GCC onlindocs "Table of Contents":

- -march and -mcpu Feature Modifiers
- EIND and Devices with More Than 128 Ki Bytes of Flash
- 6.16.4 SPU Named Address Spaces
- x86 Floating-Point asm Operands

All these entries in the TOC don't link to the indicated place but to the
respective document's header, e.g. "x86 Floating-Point asm Operands" does not forward to that section but to "Extended-Asm.html#Extended-Asm" which contains 9 subsections.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]