Hi,
I am compiling a source code (implemented by other team in Canada) using Keil (uvision-4) V4.02, C51 (9.01), to generate the hex and map(.m51) files.
When the same source code is compiled by the Canada team from Keil (uvision-4) V4.00a, C51 (9.00), differnt hex and map file output are observed as compared to mine output.
Infact I tried download the same compiler version C51 v 9.00 (as used by the Canada Team) to generate hex and map files, but still I am getting different hex files. Could anyone comment on why I am getting different hex and map files for the same source code compiled using the same compiler?
In short, my question is, is it normal to get different hex and map files while compiling from slightly different version of the compilers (C51 v9.00 Versus C51 v9.01)? If yes then how to get around with this problem?
Will appreciate the co-operation.
Regards Asad
Yes, I agree that a single variable name change may change the output hex file. I am using 'BeyondCompare3' software to view the differences in the hex file. But when I want to see the difference in the source code files, I cannot find any difference.
Situation seems strange but it is happening to me!
Eric, What is this K&R? Could you please elaborate it (consider me a new bie)?
could you please help me how to make sequence of linking same on my computer as that of Canada team.
To absolutely guarantee that you get the same output, you can put together a virtual machine with Keil tools and the project. Use the virtual machine in both locations. You should get the same output.
K&R == ancient mythology
Asad;
Remember the order of compiling is based on the order of the files in the project window. That is why you were ask if you are using the sme project files for both compiles. Adding even a simple text file in the project can change the compile order even though the text file will never be compiled.
Bradford