Dead strip

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

Dead strip

3,496件の閲覧回数
Aplamon
Contributor I
Hi,

I have a question regarding dead strip. Is there a way to have Codewarrior give me a list of a all labels it deemed unused and stripped out? That would be very useful!

Daniel
ラベル(1)
0 件の賞賛
返信
4 返答(返信)

1,612件の閲覧回数
CrasyCat
Specialist III

Hello

 

- Which CPU are you targeting (HC08, HC12, Coldfire, ..)
- Which version of CodeWarrior are you using?
To retrieve that info:
- Start CodeWarrior
- Select Help -> About Freescale CodeWarrior
- Click on "Install Products"
- CodeWarrior version used is displayed on top in the Installed Products dialog.

 

For StarCore,  HC08 and HC12, the list of objects which are not allocated due to dead striping are listed in the .map file.

 

CrasyCat

0 件の賞賛
返信

1,612件の閲覧回数
Aplamon
Contributor I
I use Codewarrior for Coldfire version 6 build 8. I did not know that features such as those varies between architectures, it is not in the map file.
0 件の賞賛
返信

1,612件の閲覧回数
stanish
NXP Employee
NXP Employee

Aplamon,

 

I'd suggest you to check if the Linker option "List Unused Objects" is checked in your project settings. (see attached screenshot)

The objects that are not used by the linker should be marked as "UNUSED" in MAP file.

 

Stanish

 

0 件の賞賛
返信

1,612件の閲覧回数
Aplamon
Contributor I
This option I have checked but it makes no difference, dead stripped objects are not shown in the map file. Could be a bug in CW preventing it?
0 件の賞賛
返信