why there is no static library for math functions?

KawaiKx picture KawaiKx · Oct 8, 2013 · Viewed 8.5k times · Source

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?

Answer

SheetJS picture SheetJS · Oct 8, 2013

Install the static libraries:

# yum install glibc-static