Re-compile gives different size

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

Re-compile gives different size

1,141 次查看
tfd
Contributor I
I've the following "simple" problem: compiling the MSL_RuntimeCF.mcp project gives *.a files of different sizes (and contents) when compiled on two different machines. Obviously both PC have CodeWarrior 5.2.1174 and I've not changed anything in the project settings. Anybody has an idea why the libraries are different?

Thanks in advance,

Ronald
标签 (1)
0 项奖励
1 回复

257 次查看
CompilerGuru
NXP Employee
NXP Employee
Do you look at the file size?
The elf files contain dates and most probably the cause for your differences, absolute paths (and maybe other things), so just checking the file size does not show much.
I would actually take the two *.a files, add them to a CW project, disassemble (context menu in the project) them and then compare the listing files.
0 项奖励