How to Attach a LCF file to a Target

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

How to Attach a LCF file to a Target

4,038 次查看
samsaprunoff
Contributor V
Good day everyone,
I am using CW for the Coldfire Ver 6.2 and I am having a hell of a time trying to figure out how to attach a linker control file (.lcf) to a target.  After going through all of the settings, etc, I cannot seem to find out where to do this...  Can anyone direct me as to where I am not looking or what am I doing wrong?
 
Cheers,
 
Sam
标签 (1)
标记 (1)
0 项奖励
回复
3 回复数

1,216 次查看
CompilerGuru
NXP Employee
NXP Employee
To make CW use your lcf, just add it to your build target. Check if you have other lcfs in the same build target, if so, remove them out of the project or exclude them from this build target.
0 项奖励
回复

1,216 次查看
J2MEJediMaster
Specialist I
Add you .lcf file to the Project window (where all the file names are) using Project > Add files... Once your .lcf file appears in the Project window, find the column with the little red-and-white bullseye. This is the Target column. Is it all starting to make sense now? Next, click in this column, on the row where your .lcf file appears. You should have a black dot appear, which indicates that CodeWarrior recognizes the file as part of the build process for this target. If there are other .lcf files in there, click in their respective target columns to make the black dot go away. That way, you won't confuse the linker with multiple appearances of a linker file.

Sorry if these instructions seem a little basic, but you appeared to need an explict description.

---Tom
0 项奖励
回复

1,216 次查看
samsaprunoff
Contributor V
Good day Tom and CompilerGuru,
 
Thank you for the information!  I did not know that the "dotted" target column was actually editable...  Boy do I feel silly ...  Thanks again!
 
Cheers,
 
Sam
0 项奖励
回复