diff options
| -rw-r--r-- | docs/COMPILE.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/COMPILE.md b/docs/COMPILE.md index 1f3a8e2d..9863b00a 100644 --- a/docs/COMPILE.md +++ b/docs/COMPILE.md @@ -346,6 +346,9 @@ In particular, you must specify the cross-compiler. For example: -DCMAKE_C_COMPILER=riscv64-unknown-linux-gnu-gcc # Or whichever cross-compiler you use ``` +Be aware of potential glibc capability errors when choosing a cross-compiler. +To avoid this, run `ldd --version` on your target machine to check its glibc version. + ### Running tests with QEMU (optional) To do a quick check, run: ``` @@ -370,7 +373,7 @@ $ mv box64-x86_64-linux-gnu /usr/lib ``` For `i386`: ```shell -$ mv x64lib box64-i386-linux-gnu +$ mv x86lib box64-i386-linux-gnu $ mv box64-i386-linux-gnu /usr/lib ``` |