'Which GLIBC version is using my toolchain?
I know how to check the GNU C Library on my x86 workstation, but now I would like to know which GLIBC version is using my cross toolchain for ARM (I didn't build the toolchain). I cant test the libc.so.6 file of my toolchain's $PATH library in my x86 workstation.
Is there some way to know the glibc version without compile a test program and testing in my embedded system? Furthermore, how can I know which PATH library is using by default the GNU linker of my toolchain?
Solution 1:[1]
You can use ldd --version command to check version, like in GLIBC version.
Solution 2:[2]
You should call ldd from your toolchain:
/full/path/to/your/toolchain/lib/usr/bin/ldd --version.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Mihai8 |
| Solution 2 | Danijel |
