Size of lib_rtcs.a and lib_mqx.a

cancel
Showing results for 
Search instead for 
Did you mean: 

Size of lib_rtcs.a and lib_mqx.a

Jump to solution
208 Views
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.

Labels (1)
0 Kudos
1 Solution
74 Views
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

View solution in original post

0 Kudos
1 Reply
75 Views
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

View solution in original post

0 Kudos