Release Build Map file

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Release Build Map file

ソリューションへジャンプ
1,154件の閲覧回数
davidzhou
Contributor V

I have K60 Tower board:_K60P144M150SF3RM , MQX 4.2, CodeWarrior v10.6.4

 

I have my project built as release. I found there are a lot of debug strings are included into the .elf binary file.

                              
 .debug_str     0x0000ced5       0x8f C:/Freescale/CW MCU v10.6.4/MCU/ARM_GCC_Support/ewl/lib/armv7e-m/fpu\librt.a(ROMCopy.o)
                  ........            

 

.debug_frame    0x00000000     0x5e40
 .debug_frame   0x00000000       0xe4 ./Sources/MSxUart.o
 .debug_frame   0x000000e4      0x15c ./Sources/MSxSwap.o

 

and when I examine the elf file, there are a lot of strings appended at the end of elf file. I want to limit the size of binary, how do I exclude any unnecessary debug data, debug string, and debug frames, etc from the binary file?

 

Thank you,

David Zhou

ラベル(1)
0 件の賞賛
返信
1 解決策
1,066件の閲覧回数
davidzhou
Contributor V

Sorry, it is in .elf, not binary file.

Case closed.

Thank you,

David Zhou

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,067件の閲覧回数
davidzhou
Contributor V

Sorry, it is in .elf, not binary file.

Case closed.

Thank you,

David Zhou

0 件の賞賛
返信