MABC
MABC

Reputation: 595

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?

Upvotes: 2

Views: 9460

Answers (2)

Danijel
Danijel

Reputation: 8606

You should call ldd from your toolchain:

/full/path/to/your/toolchain/lib/usr/bin/ldd --version.

Upvotes: 0

Mihai8
Mihai8

Reputation: 3147

You can use ldd --version command to check version, like in GLIBC version.

Upvotes: 2

Related Questions