TC397怎么添加标准C库函数

公告

大中华汽车电子生态圈社区并入开发者社区- 更多资讯点击此

Tip / 登入 to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Ralphance
Level 3
Level 3
25 sign-ins 5 likes given First like received
想使用一些标准的C库函数,如math.h中的一些sin,cos等函数,但是不知道怎么添加,请问有人操作过这种吗,请赐教。
0 点赞
4 回复数
harvis
Level 5
Level 5
10 solutions authored First like received First like given
对照开发工具(比如IDE)的说明文档操作。逻辑上是先单独编译math库(生成*.o二进制目标文件),然后把链接到主程序上面。
0 点赞
Ralphance
Level 3
Level 3
25 sign-ins 5 likes given First like received
非常感谢,已解决
0 点赞
Komon
Level 2
Level 2
5 questions asked 5 replies posted 10 sign-ins
这里是怎么解决的哇,编译libm吗?
0 点赞
User22596
Level 1
Level 1
10 replies posted 5 replies posted First question asked
能说说怎么搞的么?
0 点赞