This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Compiles & links differently only the 1st time...?!

I have a C16x project that exhibits a behaviour that I don't understand. Basically, if I un-archive a project into an empty subdirectory and do a "build all" I get a certain HEX file. However, all subsequent times I do a "build all" (without changing anything) I get a different HEX file. In other words, 2 HEX files from the same project. The process is very repeatable. Anyone have a clue as to why that might be? I'm not using anything that I know of that might cause a difference (such as using __TIME__ or __DATE__), and it's just different after the first build (it's always the same for the 2nd and subsequent builds).

Confused...
Dave.

Parents
  • "Are the extra runs of parts of the tools to get even faster & smaller executable code?"

    Yes. It's an iterative process; and it can actually make quite a big difference.

    See my earlier explanation for how it comes to be different on the 1st build only.

Reply
  • "Are the extra runs of parts of the tools to get even faster & smaller executable code?"

    Yes. It's an iterative process; and it can actually make quite a big difference.

    See my earlier explanation for how it comes to be different on the 1st build only.

Children
No data