38

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

tshepang
  • 64,472
  • 86
  • 223
  • 290
celavek
  • 745
  • 3
  • 8
  • 11
  • 3
    `objdump -T libgcc_s.so` gives you the shared object linker points. Presuming you know what `__gttf2` and the like mean, you should have no problem. (I expect that libgcc_s.so is atypically cryptic for an in this regard) – msw Sep 09 '10 at 12:18
  • 3
    Possible same on SO: http://stackoverflow.com/questions/9414625/do-i-really-need-libgcc – Ciro Santilli OurBigBook.com Jun 08 '15 at 11:11

1 Answers1

35

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.

Alex B
  • 4,458
  • 5
  • 38
  • 41