Skip to content

Commit b59e10d

Browse files
committed
docs: Update README and compilation documentation
1 parent 90ef1dd commit b59e10d

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ This is where `gdb-static` comes in! We provide static builds of `gdb` (and `gdb
4444
</summary> <br />
4545

4646
- **Static Builds**: No dependencies, no installation, just download and run!
47+
- **Musl Based**: We use Musl in order to create distribution-independant binaries that can work anywhere.
4748
- **Latest Versions**: We keep our builds up-to-date with the latest versions of GDB.
4849
- **Builtin Python (Optional)**: We provide builds with Python support built-in.
4950
- **XML Support**: Our builds come with XML support built-in, which is useful for some GDB commands.

compilation.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,15 @@ Please note that when specifying a compilation dir throughout the compilation pr
1414
Instead, always use absolute paths.
1515

1616
Examples to the <VARIABLES> throughout the script:
17-
- <CROSS_COMPILER_C> - arm-linux-gnueabi-gcc
18-
- <CROSS_COMPILER_CPP> - arm-linux-gnueabi-g++
19-
- <HOST_NAME> - arm-linux-gnueabi
17+
- <CROSS_COMPILER_C> - arm-linux-musleabi-gcc
18+
- <CROSS_COMPILER_CPP> - arm-linux-musleabi-g++
19+
- <HOST_NAME> - arm-linux-musleabi
2020
- <COMPILATION_DIR_PATH> - /home/username/projects/libgmp-x.y.z/build-arm/
2121

22-
Environment info:
23-
- glibc version: 2.39-0ubuntu8.3 (NOTE: When i compiled gdb using an older glibc, such as the one i had in my ubuntu-20.04 machine, i received a segfault in gdb, so the libc version is important!).
22+
## Choosing the right compiler
23+
24+
It is recommended to use a musl-based compiler. Unlike glibc, musl is not dependant on your distribution.
25+
Using regular gcc that is glibc based should work most of the time, but we had some people reporting crashes mainly in gdbserver, so we switched to musl-based toolchains.
2426

2527
# Compiling gdb statically to the host platform
2628

0 commit comments

Comments
 (0)