Re-compile gives different size

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Re-compile gives different size

1,136 Views
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
Labels (1)
0 Kudos
1 Reply

252 Views
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 Kudos