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

All Code Rebuilt when using Command Line

Can anybody help me with this?

I am building from the command line using a batch file. Every time the batch file is run, all C files are rebuilt even if there were no changes. Building from the uVision2 IDE works as you would expect with incremental builds.

I have search this site and found two memos about this. One concerns the TZ setting in the Autoexec.bat - I don't have that. The other memo states a "A=0x0" in the Defines section can cause this as well. I removed all defines and still have the problem.

Any ideas?

Thanks
Barry

Parents
  • I have found what is causing this problem although I don't fully understand it. The call to "mk_englsh.bat" is creating two updated header files (dda_test.h and ddatable.h) as a byproduct of what it does which apparently causes uVision to believe that all of the files are out of date. The dependencies in my source files don't seem to bear this out but I will have to check further.

    Thanks for your help.
    Barry

Reply
  • I have found what is causing this problem although I don't fully understand it. The call to "mk_englsh.bat" is creating two updated header files (dda_test.h and ddatable.h) as a byproduct of what it does which apparently causes uVision to believe that all of the files are out of date. The dependencies in my source files don't seem to bear this out but I will have to check further.

    Thanks for your help.
    Barry

Children