diff options
| author | Chi-Kuan Chiu <105687635+devarajabc@users.noreply.github.com> | 2025-10-07 02:22:49 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-06 20:22:49 +0200 |
| commit | 73aed7fd0e3d32573e976d153b9752b2b264c7f9 (patch) | |
| tree | 9d7dfc9eb0f833b1989fcb81b4d2783f8392db73 | |
| parent | e8ed70905c73a7d4c1c0ef6f099f6b1c4e208e96 (diff) | |
| download | box64-73aed7fd0e3d32573e976d153b9752b2b264c7f9.tar.gz box64-73aed7fd0e3d32573e976d153b9752b2b264c7f9.zip | |
[Docs] Add glibc capability warning and fix typo (#3043)
* Fix typo * Add glibc capability warning
| -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 ``` |