Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Unified Diff: native_client_sdk/src/doc/devguide/devcycle/building.rst

Issue 25739004: PNaCl documentation: explain how PNaCl can build with a different C++ standard library, and how to … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Indicate that libc++ support is preliminary. Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/doc/devguide/devcycle/building.rst
diff --git a/native_client_sdk/src/doc/devguide/devcycle/building.rst b/native_client_sdk/src/doc/devguide/devcycle/building.rst
index fd0f56561b5eb646b033e9bd57885e738a2c203a..7fb6f7fd3393a53802c7acb9881b9d4c36f05692 100644
--- a/native_client_sdk/src/doc/devguide/devcycle/building.rst
+++ b/native_client_sdk/src/doc/devguide/devcycle/building.rst
@@ -68,6 +68,21 @@ The Native Client SDK comes with two C libraries: `newlib
glibc <dynamic-loading>` for information about these libraries, including
factors to help you decide which to use.
+C++ libraries
+-------------
+
+Native Client can only use GCC's `libstdc++
+<http://gcc.gnu.org/libstdc++>`_, whereas Portable Native Client can use
+either `libstdc++ <http://gcc.gnu.org/libstdc++>`_ (the current default)
+and also has preliminary support for LLVM's `libc++
+<http://libcxx.llvm.org/>`_. The ``-stdlib=[libstdc++|libc++]`` command
+line argument can be used to choose which standard library to use.
+
+C++11 library support is only complete in libc++ but other non-library
+language features should work regardless of which standard library is
+used. The ``-std=[c++98|c++11]`` command line argument can be used to
+indicate which C++ language standard to use.
+
SDK toolchains
--------------
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698