会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
biggates的心得
博客园
::
首页
::
新随笔
::
联系
::
订阅
::
管理
::
公告
10 2011 档案
-lm 必须放在 gcc 命令的最后
摘要:今天遭遇到的奇怪问题,总是提示math.h中的函数找不到。经过排查最终确定了这个原因……修改了makefile之后编译通过了。Notice that the -lm option which requests the math library must be placed at the end of the command line.也不知道是哪个版本加进来的新规定……?
阅读全文
posted @
2011-10-14 05:48
biggates
阅读(480)
评论(0)
推荐(1)