Size of lib_rtcs.a and lib_mqx.a

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Size of lib_rtcs.a and lib_mqx.a

跳至解决方案
537 次查看
rajbatra
Contributor IV

My release builds for lib_rtcs.a and lib_mqx.a  (which is optimized for size -Os) seem to be quite large:

 

348MB for lib_rtcs.a

166MB for lib_mqx.a

 

(Debug versions are a bit larger but not by much).

 

The actual binary for my K64 application is Ok and runs fine.

 

Are other people seeing similar archive sizes, if not what are the sizes you are getting? Just want to make sure I'm not doing anything wrong.

 

Thanks,

-Raj

 

P.S. I'm on KSDK 1.2 (1.3 is similar) and compiling for the K64 platform.

标签 (1)
0 项奖励
1 解答
403 次查看
rajbatra
Contributor IV

I realized that I had my debug level set to -g3 (maximum). Once I changed that to none, the lib_rtcs.a reduced from 348 MB to 500 KB. 

Thanks,

-Raj

在原帖中查看解决方案

0 项奖励
1 回复
404 次查看
rajbatra
Contributor IV

I realized that I had my debug level set to -g3 (maximum). Once I changed that to none, the lib_rtcs.a reduced from 348 MB to 500 KB. 

Thanks,

-Raj

0 项奖励