diff options
author | Siva Chandra Reddy <sivachandra@google.com> | 2022-11-04 11:33:28 +0300 |
---|---|---|
committer | Siva Chandra Reddy <sivachandra@google.com> | 2022-11-04 11:35:39 +0300 |
commit | 3d2165f7381644ff2b26523d36ff250949e9a049 (patch) | |
tree | 12d1be574798ccc6f453dd3185b1f6821c221a14 /libc | |
parent | 9145bf13b7df41d955efce6778994fb455d42d58 (diff) |
[libc][NFC] Remove "$>" from recipe commands blocks in examples/README.md.
The blocks come with a copy button so removing the "$>" makes it easy to
copy paste the commands.
Diffstat (limited to 'libc')
-rw-r--r-- | libc/examples/README.md | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libc/examples/README.md b/libc/examples/README.md index 5d6cb9489ae6..ea82c5caf923 100644 --- a/libc/examples/README.md +++ b/libc/examples/README.md @@ -35,14 +35,14 @@ in which the static archive is installed with the option `LIBC_OVERLAY_ARCHIVE_DIR`: ```bash -$> cmake ../ -G <GEN> \ - -DLIBC_OVERLAY_ARCHIVE_DIR=<dir in which libc is installed> +cmake ../ -G <GEN> \ + -DLIBC_OVERLAY_ARCHIVE_DIR=<dir in which libc is installed> ``` Next, if `Ninja` is used for `<GEN>`, you can build the example as follows: ```bash -$> ninja <example name> +ninja <example name> ``` Building against a full libc @@ -59,10 +59,10 @@ have installed them, you have to inform CMake that we are linking against the full libc as follows: ```bash -$> cmake ../ -G <GEN> -DLIBC_FULLBUILD=ON \ - -DCMAKE_SYSROOT=<SYSROOT> \ - -DCMAKE_C_COMPILER=<SYSROOT>/bin/clang \ - -DCMAKE_TRY_COMPILE_TARGET_TYPE=STATIC_LIBRARY +cmake ../ -G <GEN> -DLIBC_FULLBUILD=ON \ + -DCMAKE_SYSROOT=<SYSROOT> \ + -DCMAKE_C_COMPILER=<SYSROOT>/bin/clang \ + -DCMAKE_TRY_COMPILE_TARGET_TYPE=STATIC_LIBRARY ``` `<SYSROOT>` is the path to the sysroot directory you have set up while @@ -75,5 +75,5 @@ the example as follows: ```bash -$> ninja <example name> +ninja <example name> ``` |