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

Unified Diff: native_client_sdk/src/doc/sdk/examples.rst

Issue 1655873003: [NaCl SDK] Cleanup references to old newlib toolchain (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@add_pepper_50
Patch Set: Created 4 years, 11 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 | « native_client_sdk/src/doc/pepper_stable/index.rst ('k') | native_client_sdk/src/doc/sdk/release-notes.rst » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/doc/sdk/examples.rst
diff --git a/native_client_sdk/src/doc/sdk/examples.rst b/native_client_sdk/src/doc/sdk/examples.rst
index 21ad8b2999865bb5c6152c593af82df5c1767ff2..2bb05211ef9ccfb899dcc8f1439c7b2e6c21b5b5 100644
--- a/native_client_sdk/src/doc/sdk/examples.rst
+++ b/native_client_sdk/src/doc/sdk/examples.rst
@@ -22,31 +22,31 @@ Build the SDK examples
----------------------
The Makefile scripts for the SDK examples can build multiple versions of the
-examples using any of the three SDK toolchains (newlib, glibc, and PNaCl) and in
-both release and debug configurations. Note that some examples, ``dlopen`` for
-example, build only with particular toolchains.
+examples using any of the three SDK toolchains (clang-newlib, glibc, and PNaCl)
+and in both release and debug configurations. Note that some examples,
+``dlopen`` for example, build only with particular toolchains.
Find the toolchains for each example by looking at the ``VALID_TOOLCHAINS``
variable in the Makefile for a particular example. The first item listed is the
default. It's built when you run an example make file without parameters. for
example running make in the ``core`` directory of pepper_35 builds the example
-using the ``newlib`` toolchain. ::
+using the ``glibc`` toolchain. ::
$ cd pepper_35/examples/api/core
$ make
- CXX newlib/Release/core_x86_32.o
- LINK newlib/Release/core_unstripped_x86_32.nexe
- VALIDATE newlib/Release/core_unstripped_x86_32.nexe
- CXX newlib/Release/core_x86_64.o
- LINK newlib/Release/core_unstripped_x86_64.nexe
- VALIDATE newlib/Release/core_unstripped_x86_64.nexe
- CXX newlib/Release/core_arm.o
- LINK newlib/Release/core_unstripped_arm.nexe
- VALIDATE newlib/Release/core_unstripped_arm.nexe
- STRIP newlib/Release/core_x86_32.nexe
- STRIP newlib/Release/core_x86_64.nexe
- STRIP newlib/Release/core_arm.nexe
- CREATE_NMF newlib/Release/core.nmf
+ CXX glibc/Release/core_x86_32.o
+ LINK glibc/Release/core_unstripped_x86_32.nexe
+ VALIDATE glibc/Release/core_unstripped_x86_32.nexe
+ CXX glibc/Release/core_x86_64.o
+ LINK glibc/Release/core_unstripped_x86_64.nexe
+ VALIDATE glibc/Release/core_unstripped_x86_64.nexe
+ CXX glibc/Release/core_arm.o
+ LINK glibc/Release/core_unstripped_arm.nexe
+ VALIDATE glibc/Release/core_unstripped_arm.nexe
+ STRIP glibc/Release/core_x86_32.nexe
+ STRIP glibc/Release/core_x86_64.nexe
+ STRIP glibc/Release/core_arm.nexe
+ CREATE_NMF glibc/Release/core.nmf
As you can see, this produces a number of architecture specific nexe files in
the ``pepper_35/examples/api/core/Release`` directory. Create debug versions by
@@ -70,21 +70,21 @@ default toolchains. ::
$ cd pepper_35/examples/api/core
$ make TOOLCHAIN=all
- make TOOLCHAIN=newlib
+ make TOOLCHAIN=clang-newlib
make[1]: Entering directory 'pepper_35/examples/api/core'
- CXX newlib/Release/core_x86_32.o
- LINK newlib/Release/core_unstripped_x86_32.nexe
- VALIDATE newlib/Release/core_unstripped_x86_32.nexe
- CXX newlib/Release/core_x86_64.o
- LINK newlib/Release/core_unstripped_x86_64.nexe
- VALIDATE newlib/Release/core_unstripped_x86_64.nexe
- CXX newlib/Release/core_arm.o
- LINK newlib/Release/core_unstripped_arm.nexe
- VALIDATE newlib/Release/core_unstripped_arm.nexe
- STRIP newlib/Release/core_x86_32.nexe
- STRIP newlib/Release/core_x86_64.nexe
- STRIP newlib/Release/core_arm.nexe
- CREATE_NMF newlib/Release/core.nmf
+ CXX clang-newlib/Release/core_x86_32.o
+ LINK clang-newlib/Release/core_unstripped_x86_32.nexe
+ VALIDATE clang-newlib/Release/core_unstripped_x86_32.nexe
+ CXX clang-newlib/Release/core_x86_64.o
+ LINK clang-newlib/Release/core_unstripped_x86_64.nexe
+ VALIDATE clang-newlib/Release/core_unstripped_x86_64.nexe
+ CXX clang-newlib/Release/core_arm.o
+ LINK clang-newlib/Release/core_unstripped_arm.nexe
+ VALIDATE clang-newlib/Release/core_unstripped_arm.nexe
+ STRIP clang-newlib/Release/core_x86_32.nexe
+ STRIP clang-newlib/Release/core_x86_64.nexe
+ STRIP clang-newlib/Release/core_arm.nexe
+ CREATE_NMF clang-newlib/Release/core.nmf
make[1]: Leaving directory 'pepper_35/examples/api/core'
make TOOLCHAIN=glibc
make[1]: Entering directory 'pepper_35/examples/api/core'
@@ -106,11 +106,11 @@ Build results
After running ``make``, example directories will contain one or more of the
following subdirectories, depending on which Makefile you run:
-* ``newlib`` with subdirectories ``Debug`` and ``Release``;
+* ``clang-newlib`` with subdirectories ``Debug`` and ``Release``;
* ``glibc`` with subdirectories ``Debug`` and ``Release``;
* ``pnacl`` with subdirectories ``Debug`` and ``Release``;
-For the newlib and glibc toolchains the Debug and Release subdirectories
+For the clang-newlib and glibc toolchains the Debug and Release subdirectories
contain .nexe files for all target architectures. For the PNaCl toolchain
they contain a single .pexe file. PNaCl debug also produces pre-translated
.nexe files, for ease of debugging. All Debug and Release directories contain
« no previous file with comments | « native_client_sdk/src/doc/pepper_stable/index.rst ('k') | native_client_sdk/src/doc/sdk/release-notes.rst » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698