public inbox for libstdc++@gcc.gnu.org
 help / color / mirror / Atom feed
* [wwwdocs] Document libstdc++ freestanding changes in gcc-13
@ 2023-05-11 15:53 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2023-05-11 15:53 UTC (permalink / raw)
  To: libstdc++, gcc-patches

Pushed to wwwdocs (better late than never).

-- >8 --

---
 htdocs/gcc-13/changes.html | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/htdocs/gcc-13/changes.html b/htdocs/gcc-13/changes.html
index bd022ed2..39414e18 100644
--- a/htdocs/gcc-13/changes.html
+++ b/htdocs/gcc-13/changes.html
@@ -412,6 +412,20 @@ You may also want to check out our
   <li>Support for the <code>&lt;experimental/synchronized_value&gt;</code>
       header from v2 of the Concurrency Technical Specification.
   </li>
+  <li>Support for many previously unavailable features in freestanding mode,
+      thanks to Arsen Arsenović. For example, <code>std::tuple</code> is
+      now available for freestanding compilation. The freestanding subset
+      contains all the components made freestanding by
+      <a href="https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p1642r11.html">P1642</a>,
+      but libstdc++ adds more components to the freestanding subset,
+      such as <code>std::array</code> and <code>std::string_view</code>.
+      Additionally, libstdc++ now respects the <code>-ffreestanding</code>
+      compiler option and so it is not necessary to build a separate
+      freestanding installation of libstdc++.  Compiling with
+      <code>-ffreestanding</code> will restrict the available features to
+      the freestanding subset, even if libstdc++ was built as a full, hosted
+      implementation.
+  </li>
 </ul>
 
 <!-- <h3 id="d">D</h3> -->
-- 
2.40.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-05-11 15:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-11 15:53 [wwwdocs] Document libstdc++ freestanding changes in gcc-13 Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).