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

Side by Side Diff: native_client_sdk/src/doc/devguide/devcycle/building.rst

Issue 33593002: PNaClize and update the 'Devguide -> Running' page of the documentation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanups 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 .. _devcycle-building: 1 .. _devcycle-building:
2 2
3 ######## 3 ########
4 Building 4 Building
5 ######## 5 ########
6 6
7 .. contents:: Table Of Contents 7 .. contents:: Table Of Contents
8 :local: 8 :local:
9 :backlinks: none 9 :backlinks: none
10 :depth: 2 10 :depth: 2
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 and it has multiple GCC-based toolchains that are differentiated by target 87 and it has multiple GCC-based toolchains that are differentiated by target
88 architectures and C libraries. The single PNaCl toolchain is located 88 architectures and C libraries. The single PNaCl toolchain is located
89 in a directory named ``toolchain/<OS_platform>_pnacl``, and the GCC-based 89 in a directory named ``toolchain/<OS_platform>_pnacl``, and the GCC-based
90 toolchains are located in directories named 90 toolchains are located in directories named
91 ``toolchain/<OS_platform>_<architecture>_<library>``, where: 91 ``toolchain/<OS_platform>_<architecture>_<library>``, where:
92 92
93 * *<platform>* is the platform of your development machine (win, mac, or linux) 93 * *<platform>* is the platform of your development machine (win, mac, or linux)
94 * *<architecture>* is your target architecture (x86 or arm) 94 * *<architecture>* is your target architecture (x86 or arm)
95 * *<library>* is the C library you are compiling with (newlib or glibc) 95 * *<library>* is the C library you are compiling with (newlib or glibc)
96 96
97 The compilers, linkers, and other tools are located in the ``bin/`` 97 The compilers, linkers, and other tools are located in the ``bin/``
98 subdirectory in each toolchain. For example, the tools in the Windows SDK 98 subdirectory in each toolchain. For example, the tools in the Windows SDK
99 for PNaCl has a C++ compiler in ``toolchain/win_pnacl/bin/pnacl-clang++``. 99 for PNaCl has a C++ compiler in ``toolchain/win_pnacl/bin/pnacl-clang++``.
100 As another example, the GCC-based C++ compiler that targets the x86 and uses the 100 As another example, the GCC-based C++ compiler that targets the x86 and uses the
101 newlib library, is located at ``toolchain/win_x86_newlib/bin/x86_64-nacl-g++``. 101 newlib library, is located at ``toolchain/win_x86_newlib/bin/x86_64-nacl-g++``.
102 102
103 .. Note:: 103 .. Note::
104 :class: note 104 :class: note
105 105
106 The SDK toolchains descend from the ``toolchain/`` directory. The SDK also 106 The SDK toolchains descend from the ``toolchain/`` directory. The SDK also
107 has a ``tools/`` directory; this directory contains utilities that are not 107 has a ``tools/`` directory; this directory contains utilities that are not
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 Here is one way to find the appropriate library for a given symbol: 613 Here is one way to find the appropriate library for a given symbol:
614 614
615 .. naclcode:: 615 .. naclcode::
616 :prettyprint: 0 616 :prettyprint: 0
617 617
618 <NACL_SDK_ROOT>/toolchain/<platform>_pnacl/bin/pnacl-nm -o \ 618 <NACL_SDK_ROOT>/toolchain/<platform>_pnacl/bin/pnacl-nm -o \
619 toolchain/<platform>_pnacl/usr/lib/*.a | grep <MySymbolName> 619 toolchain/<platform>_pnacl/usr/lib/*.a | grep <MySymbolName>
620 620
621 .. TODO(jvoung): Add some notes about debugging GNU-extensions not 621 .. TODO(jvoung): Add some notes about debugging GNU-extensions not
622 .. supported by PNaCl ABI stabilization passes, like computed gotos? 622 .. supported by PNaCl ABI stabilization passes, like computed gotos?
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698