Commit 6a28a753 by Jonathan Wakely Committed by Jonathan Wakely

Improvements to the libstdc++ FAQ and manual

	* doc/xml/faq.xml: Update several old entries. Improve
	cross-references.
	* doc/xml/manual/intro.xml: Add anchors to each DR.
	* doc/html/*: Regenerate.

From-SVN: r250125
parent bee038f1
2017-07-11 Jonathan Wakely <jwakely@redhat.com>
* doc/xml/faq.xml: Update several old entries. Improve
cross-references.
* doc/xml/manual/intro.xml: Add anchors to each DR.
* doc/html/*: Regenerate.
2017-07-10 Jonathan Wakely <jwakely@redhat.com> 2017-07-10 Jonathan Wakely <jwakely@redhat.com>
* testsuite/abi/pr42230.cc: Add header for std::free. * testsuite/abi/pr42230.cc: Add header for std::free.
......
...@@ -327,13 +327,13 @@ cat 27_io/objects/char/3_xin.in | a.out</pre></dd><dt><span class="term"><code c ...@@ -327,13 +327,13 @@ cat 27_io/objects/char/3_xin.in | a.out</pre></dd><dt><span class="term"><code c
For example, to run the tests with For example, to run the tests with
<code class="option">-O1 -D_GLIBCXX_ASSERTIONS</code> <code class="option">-O1 -D_GLIBCXX_ASSERTIONS</code>
you could use: you could use:
</p><pre class="programlisting"> make RUNTESTFLAGS=--target_board=unix/-O1/-D_GLIBCXX_ASSERTIONS</pre><p> </p><pre class="programlisting"> make check RUNTESTFLAGS=--target_board=unix/-O1/-D_GLIBCXX_ASSERTIONS</pre><p>
</p><p> </p><p>
The <code class="option">--target_board</code> option can also be used to run the The <code class="option">--target_board</code> option can also be used to run the
tests multiple times in different variations. For example, to run the tests multiple times in different variations. For example, to run the
entire testsuite three times using <code class="option">-O3</code> but with entire testsuite three times using <code class="option">-O3</code> but with
different <code class="option">-std</code> options: different <code class="option">-std</code> options:
</p><pre class="programlisting"> make 'RUNTESTFLAGS=--target_board=unix/-O3\"{-std=gnu++98,-std=gnu++11,-std=gnu++14}\"'</pre><p> </p><pre class="programlisting"> make check 'RUNTESTFLAGS=--target_board=unix/-O3\"{-std=gnu++98,-std=gnu++11,-std=gnu++14}\"'</pre><p>
N.B. that set of variations could also be written as N.B. that set of variations could also be written as
<code class="literal">unix/-O3\"{-std=gnu++98,-std=gnu++11,}\"</code> so that <code class="literal">unix/-O3\"{-std=gnu++98,-std=gnu++11,}\"</code> so that
the third variation would use the default for <code class="option">-std</code> the third variation would use the default for <code class="option">-std</code>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment