Generating listing file attempts to list the library source files

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

Generating listing file attempts to list the library source files

2,100 次查看
jmv
Contributor I
I am using the Code Warrior V6.1 command line compiler for a ColdFire V1 target and have included the -list option in the linker command line. It produces a list file as I expect but also attempts to list all the library source files as well, which it cannot find. It outputs a load of messages in response (below is one such message). It's not really a problem, but it is messy, and a more serious linker error could be missed unless I scroll back through all the messages.

I am not sure where it gets the path from, as I certainly don't have a D: drive.

Is there a way of stopping it trying to list library source files or, better, yet, is there an option for the compiler so that I can generate a listing for individual source files, as the 9S08 complier can, rather than all in one hit by the linker?

### mwldmcf.exe Linker Warning:
#   Source file
#   "D:\Products\ColdFire\Lemna_ColdFire_Tools_V1\Lemna_ColdFire_Tools_V1_07101
#   9\CodeWarrior\ColdFire_Support\Runtime\Runtime_ColdFire\Source\ROMCopy.c"
#   not found, cannot display source


Thanks
标签 (1)
标记 (1)
0 项奖励
回复
2 回复数

898 次查看
stanish
NXP Employee
NXP Employee
Hi jmv,

In order to get rid of linker warnings it might help to recompile all libraries related to CFv1.
Open the library projects that refer to the libraries you are using in your project e.g.:

"c:\Program Files\Freescale\CodeWarrior for Microcontrollers V6.1\ColdFire_Support\Runtime\Runtime_ColdFire\Projects\MSL_RuntimeCF.v1.mcp"

and/or

"c:\Program Files\Freescale\CodeWarrior for Microcontrollers V6.1\ColdFire_Support\msl\MSL_C\MSL_ColdFire\Project\MSL_C.CF.v1.mcp"

and build them all.

Ensure that your project paths refers to updated libs.


Stanish

0 项奖励
回复

898 次查看
CrasyCat
Specialist III
Hello
 
Look at the {Install}\Help\PDF\ColdFireV1_Build_Tools_Reference.pdf reference manual.
 
There are 2 options that can help you here. -disassemble and -S.
 
CrasyCat
0 项奖励
回复