请问怎么判断Keil编译时用到的基础库名字?

2019-07-14 16:46发布

怎么判断Keil编译时用到的基础库名字,在Linker选项里好像没有体现的。include是-I中有,而库的路径怎么判断?
ARMARMCClibarmlib下面一堆.l .b的文件,怎么和CPU类型联系起来?
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
5条回答
胡德胜快回答
2019-07-15 03:35
默认 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.

一周热门 更多>