Skip to content

Commit 3541b71

Browse files
committed
doc: prefer to use NaCl newlib.
1 parent cfc9620 commit 3541b71

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/building.dox

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ to find the compiler. NaCl currently supports only OpenGL ES 2, thus
298298
`TARGET_GLES` and `TARGET_GLES2` is always enabled.
299299

300300
Then create build directories for x86-32 and x86-64 and run cmake and make in
301-
them. The toolchains need access to its platform file, so be sure to properly
301+
them. The toolchains need access to the platform file, so be sure to properly
302302
set **absolute** path to `modules/` directory containing `Platform/NaCl.cmake`.
303303
Also adapt `CMAKE_INSTALL_PREFIX` to the same value as in `NACL_PREFIX` in
304304
toolchain file.
@@ -307,7 +307,7 @@ toolchain file.
307307
cd build-nacl-x86-32
308308
cmake .. \
309309
-DCMAKE_MODULE_PATH="/absolute/path/to/toolchains/modules" \
310-
-DCMAKE_TOOLCHAIN_FILE="../toolchains/generic/NaCl-glibc-x86-32.cmake" \
310+
-DCMAKE_TOOLCHAIN_FILE="../toolchains/generic/NaCl-newlib-x86-32.cmake" \
311311
-DCMAKE_BUILD_TYPE=Release \
312312
-DCMAKE_INSTALL_PREFIX=/usr/nacl \
313313
-DWITH_NACLAPPLICATION=ON \
@@ -318,7 +318,7 @@ toolchain file.
318318
cd build-nacl-x86-64
319319
cmake .. \
320320
-DCMAKE_MODULE_PATH="/absolute/path/to/toolchains/modules" \
321-
-DCMAKE_TOOLCHAIN_FILE="../toolchains/generic/NaCl-glibc-x86-64.cmake" \
321+
-DCMAKE_TOOLCHAIN_FILE="../toolchains/generic/NaCl-newlib-x86-64.cmake" \
322322
-DCMAKE_BUILD_TYPE=Release \
323323
-DCMAKE_INSTALL_PREFIX=/usr/nacl \
324324
-DWITH_NACLAPPLICATION=ON

0 commit comments

Comments
 (0)