mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-09 14:35:13 +08:00
Document options for Filesystem TS library
* doc/xml/manual/configure.xml: Document --enable-libstdcxx-filesystem-ts option. * doc/xml/manual/status_cxx2014.xml: Document libstdc++fs.a. * doc/xml/manual/using.xml: Likewise. * doc/html/*: Regenerate. From-SVN: r228914
This commit is contained in:
parent
63b0cb0436
commit
fe29811c31
@ -1,3 +1,11 @@
|
||||
2015-10-16 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* doc/xml/manual/configure.xml: Document
|
||||
--enable-libstdcxx-filesystem-ts option.
|
||||
* doc/xml/manual/status_cxx2014.xml: Document libstdc++fs.a.
|
||||
* doc/xml/manual/using.xml: Likewise.
|
||||
* doc/html/*: Regenerate.
|
||||
|
||||
2015-10-16 Aurelio Remonda <aurelio.remonda@tallertechnologies.com>
|
||||
|
||||
* testsuite/25_algorithms/random_shuffle/moveable.cc: Change variable
|
||||
|
@ -245,4 +245,8 @@
|
||||
<code class="classname">iostream</code>, and others. Disabling means that
|
||||
the C++ runtime is compiled without support for vtable
|
||||
verification. By default, this option is off.
|
||||
</p></dd></dl></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="setup.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="setup.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="make.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 2. Setup </td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top"> Make</td></tr></table></div></body></html>
|
||||
</p></dd><dt><span class="term"><code class="code">--enable-libstdcxx-filesystem-ts</code>[default]</span></dt><dd><p>Build <code class="filename">libstdc++fs.a</code> as well
|
||||
as the usual libstdc++ and libsupc++ libraries. This is enabled by
|
||||
default on select POSIX targets where it is known to work and disabled
|
||||
otherwise.
|
||||
</p></dd></dl></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="setup.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="setup.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="make.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 2. Setup </td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top"> Make</td></tr></table></div></body></html>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -457,7 +457,11 @@ not in any particular release.
|
||||
<a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4100.pdf" target="_top">
|
||||
N4100
|
||||
</a>
|
||||
</td><td align="left">File System</td><td align="left">Y</td><td align="left"> </td></tr></tbody></table></div></div><br class="table-break" /></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="status.iso.201z"></a>C++ 201z</h3></div></div></div><p>
|
||||
</td><td align="left">File System</td><td align="left">Y</td><td align="left">
|
||||
Link with
|
||||
<a class="link" href="using_dynamic_or_shared.html#manual.intro.using.linkage.experimental" title="Experimental Library Extensions">
|
||||
<code class="option">-lstdc++fs</code></a>
|
||||
</td></tr></tbody></table></div></div><br class="table-break" /></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="status.iso.201z"></a>C++ 201z</h3></div></div></div><p>
|
||||
In this implementation the <code class="literal">-std=gnu++1z</code> or
|
||||
<code class="literal">-std=c++1z</code> flag must be used to enable language
|
||||
and library
|
||||
|
File diff suppressed because one or more lines are too long
@ -102,4 +102,21 @@ A quick read of the relevant part of the GCC
|
||||
also installed, for use with Libtool. If you use Libtool to
|
||||
create your executables, these details are taken care of for
|
||||
you.
|
||||
</p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="manual.intro.using.linkage.experimental"></a>Experimental Library Extensions</h3></div></div></div><p>
|
||||
GCC 5.3 includes an implementation of the Filesystem library defined
|
||||
by the technical specification ISO/IEC TS 18822:2015. Because this is
|
||||
an experimental library extension, not part of the C++ standard, it
|
||||
is implemented in a separate library,
|
||||
<code class="filename">libstdc++fs.a</code>, and there is
|
||||
no shared library for it. To use the library you should include
|
||||
<code class="filename"><experimental/filesystem></code>
|
||||
and link with <code class="option">-lstdc++fs</code>. The library implementation
|
||||
is incomplete on non-POSIX platforms, specifically Windows support is
|
||||
rudimentary.
|
||||
</p><p>
|
||||
Due to the experimental nature of the Filesystem library the usual
|
||||
guarantees about ABI stability and backwards compatibility do not apply
|
||||
to it. There is no guarantee that the components in any
|
||||
<code class="filename"><experimental/xxx></code>
|
||||
header will remain compatible between different GCC releases.
|
||||
</p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="using_namespaces.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="using.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="using_concurrency.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Namespaces </td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top"> Concurrency</td></tr></table></div></body></html>
|
@ -411,6 +411,15 @@
|
||||
</para>
|
||||
</listitem></varlistentry>
|
||||
|
||||
<varlistentry><term><code>--enable-libstdcxx-filesystem-ts</code>[default]</term>
|
||||
<listitem>
|
||||
<para>Build <filename class="libraryfile">libstdc++fs.a</filename> as well
|
||||
as the usual libstdc++ and libsupc++ libraries. This is enabled by
|
||||
default on select POSIX targets where it is known to work and disabled
|
||||
otherwise.
|
||||
</para>
|
||||
</listitem></varlistentry>
|
||||
|
||||
</variablelist>
|
||||
|
||||
</section>
|
||||
|
@ -402,7 +402,11 @@ not in any particular release.
|
||||
</entry>
|
||||
<entry>File System</entry>
|
||||
<entry>Y</entry>
|
||||
<entry></entry>
|
||||
<entry>
|
||||
Link with
|
||||
<link linkend="manual.intro.using.linkage.experimental">
|
||||
<option>-lstdc++fs</option></link>
|
||||
</entry>
|
||||
</row>
|
||||
|
||||
|
||||
|
@ -95,6 +95,14 @@
|
||||
</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><literal>-lstdc++fs</literal></entry>
|
||||
<entry>Linking to <filename class="libraryfile">libstdc++fs</filename>
|
||||
is required for use of the Filesystem library extensions in
|
||||
<filename class="headerfile"><experimental/filesystem></filename>.
|
||||
</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><literal>-fopenmp</literal></entry>
|
||||
<entry>For <link linkend="manual.ext.parallel_mode">parallel</link> mode.</entry>
|
||||
@ -1361,8 +1369,31 @@ A quick read of the relevant part of the GCC
|
||||
you.
|
||||
</para>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
<section xml:id="manual.intro.using.linkage.experimental" xreflabel="Library Extensions"><info><title>Experimental Library Extensions</title></info>
|
||||
|
||||
<para>
|
||||
GCC 5.3 includes an implementation of the Filesystem library defined
|
||||
by the technical specification ISO/IEC TS 18822:2015. Because this is
|
||||
an experimental library extension, not part of the C++ standard, it
|
||||
is implemented in a separate library,
|
||||
<filename class="libraryfile">libstdc++fs.a</filename>, and there is
|
||||
no shared library for it. To use the library you should include
|
||||
<filename class="headerfile"><experimental/filesystem></filename>
|
||||
and link with <option>-lstdc++fs</option>. The library implementation
|
||||
is incomplete on non-POSIX platforms, specifically Windows support is
|
||||
rudimentary.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Due to the experimental nature of the Filesystem library the usual
|
||||
guarantees about ABI stability and backwards compatibility do not apply
|
||||
to it. There is no guarantee that the components in any
|
||||
<filename class="headerfile"><experimental/xxx></filename>
|
||||
header will remain compatible between different GCC releases.
|
||||
</para>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
<section xml:id="manual.intro.using.concurrency" xreflabel="Concurrency"><info><title>Concurrency</title></info>
|
||||
<?dbhtml filename="using_concurrency.html"?>
|
||||
|
Loading…
Reference in New Issue
Block a user