I tried running objdump on the lib to figure it out without success. Is there a way to find out what a library does?


1 Answer 1


It's GCC's runtime library, which contains some low-level functions that GCC emits calls to (like long long division on 32-bit CPUs).

Part of this library is required by the LSB.

  • 1
    +1 dumb old me, sometimes one just doesn't look in the obvious place
    – celavek
    Sep 9, 2010 at 14:32
  • 2
    do you happen to know if a specific processor's EABI(e.g. ARM EABI) is implemented in that lib?
    – celavek
    Sep 9, 2010 at 14:33
  • @celavek I'm not sure what you mean. AFAIK, current platform's ABI would be implemented, same as in other GCC runtime libs: gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html
    – Alex B
    Sep 10, 2010 at 0:14
  • What if you use clang instead of gcc, would it still be linked in?
    – Bram
    Oct 8, 2019 at 2:56
  • It can be, depending on the --rtlib= option to clang. Aug 10, 2020 at 14:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.