完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
怎么判断Keil编译时用到的基础库名字,在Linker选项里好像没有体现的。include是-I中有,而库的路径怎么判断?
ARMARMCClibarmlib下面一堆.l .b的文件,怎么和CPU类型联系起来? |
|
相关推荐
6个回答
|
|
|
|
自己包含啊
|
|
|
|
|
|
|
|
默认 ARMLIB
--libpath 可以指定. 手册上有描述: The libraries are installed in subdirectories of the lib directory: armlib Contains the variants of the ARM C library, the floating-point arithmetic library (fplib), and the math library (mathlib). cpplib Contains the variants of the Rogue Wave C++ library (cpp_*) and supporting ARM C++ functions (cpprt_*), referred to collectively as the ARM C++ Libraries. The accompanying header files for these libraries are installed in the inc directory. The environment variable ARMCCnnLIB must be set to point to the lib directory, or if this variable is not set, ARMLIB. Alternatively, use the --libpath argument to the linker to identify the directory holding the library subdirectories. You must not identify the armlib and cpplib directories separately because this directory structure might change in future releases. The linker finds them from the location of lib. |
|
|
|
感谢回复,知道是自动包含。问题是armlib下面有很多类似的lib文件,估计linker会根据cpu类型连接不同的lib,我想把.l和.b文件按CPU类型归下类。比如Cortex M3会关联哪些.l的文件。
|
|
|
|
jiecai5388 发表于 2018-10-19 16:02 有的应该跟lib的实现方法有关. The default floating-point arithmetic libraries fz_* and fj_* do not use static data and are always reentrant. However, the f_* and g_* libraries do use static data. (摘自手册) *.b , *.l 应该是大端小端. |
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
2060 浏览 0 评论
STM32配合可编程加密芯片SMEC88ST的防抄板加密方案设计
1216 浏览 0 评论
2815 浏览 1 评论
AD7686芯片不传输数据给STM32,但是手按住就会有数据。
2584 浏览 3 评论
5265 浏览 0 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-1-13 02:46 , Processed in 0.635086 second(s), Total 83, Slave 67 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (威廉希尔官方网站 图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号