We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Dear All,
I am using keil sdk v3.22.
What behavior I noticed is, when i use "rebuild all" or "build" option ,
Map file is generated.
Next time, Even if I am not changing Any line of code,
I am rebuilding target second time(using "rebuild all" or "build" option), the map file that is being generated is bit diff,
If you put both the map files under WINDIFF software you can see the differences. Major visible diff is in code size and
Data size variation of these version of map file of the single code. My concern is just with reliability. Is it normal behavior or some thing not happen correct to my sdk.
Also, one more thing I have noticed that is if one make use of "clean target" option before "rebuild all" , then the generation of MAP file is even.
What might be the conclusion and right way to use your compiler ?
Can you pls guide...
-Saurabh
This is no surprise. the compiler can generate more efficient code if you compile again with the presence of the --feedback flag (assuming you use the RealView compiler). See your compiler manual - look for the
--feedback
option.