How can I link to a specific glibc version

Posted by falstaff on Stack Overflow See other posts from Stack Overflow or by falstaff
Published on 2010-05-18T10:45:23Z Indexed on 2010/05/18 16:10 UTC
Read the original article Hit count: 298

Filed under:
|
|
|
|

When I compile something on my Ubuntu Lucid 10.04 PC it gets linked against glibc. Lucid uses 2.11 of glibc. When I run this binary on another PC with an older glibc, the command fails saying there's no glibc 2.11...

As far as I know glibc uses symbol versioning. Can I force gcc to link against a specific symbol version?

In my concret use I try to compile a gcc cross toolchain for ARM.

© Stack Overflow or respective owner

Related posts about linux

Related posts about glibc