clinuxgccfedoralibm

why there is no static library for math functions?


Is it a standard to have only dynamic libraries mostly without their static version? I am particularly asking about math library. In my fedora 17 (linux machine on Intel 32 processor), I have latest gcc and it has libm-2.15.so and symbolic link file libm.so but there is no libm.a.

Is libm.a missing on my system?


Solution

  • Install the static libraries:

    # yum install glibc-static