为什么没有数学函数的静态库? [英] why there is no static library for math functions?

查看:150
本文介绍了为什么没有数学函数的静态库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

只有没有静态版本的动态库才是标准吗?我特别提到数学图书馆。在我的fedora 17(英特尔32处理器上的linux机器)上,我有最新的gcc,它有libm-2.15.so和符号链接文件libm.so,但没有libm.a。

libm.a在我的系统上缺失吗?

解决方案

安装静态库:

 #yum install glibc-static 


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?

解决方案

Install the static libraries:

# yum install glibc-static

这篇关于为什么没有数学函数的静态库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆