From patchwork Fri Nov 4 00:22:29 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: 14/n: trans-mem: compiler documentation From: Aldy Hernandez X-Patchwork-Id: 123535 Message-Id: <4EB33045.2050603@redhat.com> To: "Joseph S. Myers" Cc: gcc-patches Date: Thu, 03 Nov 2011 19:22:29 -0500 >> I thought so too, but couldn't find how. Libitm is in another directory >> (libitm/libitm.texi). Does anyone know how to do this? > > When installed, all info files are presumed to go in one directory, HTML > files in parallel directories, etc.; you use the five-argument form of > @xref with "libitm" as the fourth argument. > Thank you Joseph. I made it behave like: @section References for other languages @xref{Top, GNAT Reference Manual, About This Guide, gnat_rm, GNAT Reference Manual}, for information on standard conformance and compatibility of the Ada compiler. elsewhere in standards.texi. OK for branch? * doc/invoke.texi: Add xref for libitm. Index: doc/invoke.texi =================================================================== --- doc/invoke.texi (revision 180836) +++ doc/invoke.texi (working copy) @@ -1724,8 +1724,9 @@ an experimental feature whose interface of GCC, as the official specification changes. Please note that not all architectures are supported for this feature. -For more information on GCC's support for transactional memory, see -the accompanying documentation for @file{libitm}. +For more information on GCC's support for transactional memory, +@xref{Enabling libitm,,The GNU Transactional Memory Library,libitm,GNU +Transactional Memory Library}. @item -fms-extensions @opindex fms-extensions