{"action":"closed","issue":{"url":"https://api.github.com/repos/davidmalcolm/texi2rst/issues/2","labels_url":"https://api.github.com/repos/davidmalcolm/texi2rst/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/davidmalcolm/texi2rst/issues/2/comments","events_url":"https://api.github.com/repos/davidmalcolm/texi2rst/issues/2/events","html_url":"https://github.com/davidmalcolm/texi2rst/issues/2","id":103545050,"number":2,"title":"Missing/unmarked-up cross-references","user":{"login":"davidmalcolm","id":1553248,"avatar_url":"https://avatars.githubusercontent.com/u/1553248?v=3","gravatar_id":"","url":"https://api.github.com/users/davidmalcolm","html_url":"https://github.com/davidmalcolm","followers_url":"https://api.github.com/users/davidmalcolm/followers","following_url":"https://api.github.com/users/davidmalcolm/following{/other_user}","gists_url":"https://api.github.com/users/davidmalcolm/gists{/gist_id}","starred_url":"https://api.github.com/users/davidmalcolm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidmalcolm/subscriptions","organizations_url":"https://api.github.com/users/davidmalcolm/orgs","repos_url":"https://api.github.com/users/davidmalcolm/repos","events_url":"https://api.github.com/users/davidmalcolm/events{/privacy}","received_events_url":"https://api.github.com/users/davidmalcolm/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-27T16:17:52Z","updated_at":"2015-08-28T19:44:45Z","closed_at":"2015-08-28T19:44:45Z","body":"gcc.xml has:\r\n```xml\r\n<para>GCC aims towards being usable as a conforming freestanding\r\nimplementation, or as the compiler for a conforming hosted\r\nimplementation.  By default, it will act as the compiler for a hosted\r\nimplementation, defining <code>__STDC_HOSTED__</code> as <code>1</code> and\r\npresuming that when the names of ISO C functions are used, they have\r\nthe semantics defined in the standard.  To make it act as a conforming\r\nfreestanding implementation for a freestanding environment, use the\r\noption <option>-ffreestanding</option>; it will then define\r\n<code>__STDC_HOSTED__</code> to <code>0</code> and not make assumptions about the\r\nmeanings of function names from the standard library, with exceptions\r\nnoted below.  To build an OS kernel, you may well still need to make\r\nyour own arrangements for linking and startup.\r\n<xref label=\"C-Dialect-Options\"><xrefnodename>C Dialect Options</xrefnodename><xrefprinteddesc>Options Controlling C Dialect</xrefprinteddesc></xref>.\r\n</para>\r\n```\r\n\r\nThis becomes (in c-language.rst):\r\n```rst\r\n.. index:: ffreestanding\r\n\r\nGCC aims towards being usable as a conforming freestanding\r\nimplementation, or as the compiler for a conforming hosted\r\nimplementation.  By default, it will act as the compiler for a hosted\r\nimplementation, defining ``__STDC_HOSTED__`` as ``1`` and\r\npresuming that when the names of ISO C functions are used, they have\r\nthe semantics defined in the standard.  To make it act as a conforming\r\nfreestanding implementation for a freestanding environment, use the\r\noption :option:`-ffreestanding`; it will then define\r\n``__STDC_HOSTED__`` to ``0`` and not make assumptions about the\r\nmeanings of function names from the standard library, with exceptions\r\nnoted below.  To build an OS kernel, you may well still need to make\r\nyour own arrangements for linking and startup.\r\nC Dialect OptionsOptions Controlling C Dialect.\r\n```\r\n\r\nWe should properly handle that final\r\n```xml\r\n<xref label=\"C-Dialect-Options\"><xrefnodename>C Dialect Options</xrefnodename><xrefprinteddesc>Options Controlling C Dialect</xrefprinteddesc></xref>\r\n```\r\nand generate some kind of .rst crossreference."}}