Commit 070ca067 authored by jfb@chromium.org's avatar jfb@chromium.org

PNaCl documentation: explain how PNaCl can build with a different C++ standard...

PNaCl documentation: explain how PNaCl can build with a different C++ standard library, and how to use C++11

R= eliben@chromium.org, dschuff@chromium.org, mackinlay@chromium.org
BUG= https://code.google.com/p/nativeclient/issues/detail?id=3634
NOTRY=true

Review URL: https://codereview.chromium.org/25739004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226537 0039d316-1c4b-4281-b951-d872f2087c98
parent 8df50f25
...@@ -68,6 +68,21 @@ The Native Client SDK comes with two C libraries: `newlib ...@@ -68,6 +68,21 @@ The Native Client SDK comes with two C libraries: `newlib
glibc <dynamic-loading>` for information about these libraries, including glibc <dynamic-loading>` for information about these libraries, including
factors to help you decide which to use. 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 SDK toolchains
-------------- --------------
......
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