33This directory contains a few example programs which illustrate how one can set
44up their own projects to use LLVM's libc, either as an overlay or as the only
55libc in their projects. See the
6- [ the usage mode document] ( https://libc.llvm.org/usage_modes .html ) for more
6+ [ the usage mode document] ( https://libc.llvm.org/build_and_test .html ) for more
77information about the different modes in which one can build and use the libc.
88
99Building the Examples
@@ -19,8 +19,9 @@ cd build
1919```
2020
2121Each example can be built to use the libc in either
22- [ the overlay mode] ( https://libc.llvm.org/overlay_mode.html ) or the
23- [ full build mode] ( https://libc.llvm.org/fullbuild_mode.html ) . The CMake
22+ [ the overlay mode] ( https://libc.llvm.org/overlay_mode.html ) ,
23+ [ full host build mode] ( https://libc.llvm.org/full_host_build.html ) or
24+ [ full cross build mode] ( https://libc.llvm.org/full_cross_build.html ) . The CMake
2425configure step differs slightly depending on the mode you want to use the libc
2526in.
2627
@@ -49,7 +50,8 @@ Building against a full libc
4950----------------------------
5051
5152Before you can link an example against the full libc, you will have to first
52- install it. See [ the documentation of the full build mode] ( https://libc.llvm.org/fullbuild_mode.html )
53+ install it. See [ documentation for full host build mode] ( https://libc.llvm.org/full_host_build.html )
54+ or [ documentation for full cross build mode] ( https://libc.llvm.org/full_cross_build.html )
5355to learn how to install a full libc along with the other LLVM toolchain pieces
5456like ` clang ` , ` lld ` and ` compiler-rt ` . The CMake build for the examples will
5557assume that you have all of these components installed in a special sysroot
0 commit comments