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

MDK 4.71 / 4.72 build compiles all

MDK 4.72 seems to always recompile all project files, greatly extending compile times.

4.71 does this along with performing a project clean if the "use cross module optimization" is checked. 4.71 then compiled all files a second time for the fun of it - presumably to delete unused functions. In 4.71 a separate project could be made for release vs debug ( something most developers probably do already) to get around wasting a full recompile for minor changes to one file.

This condition may have existed for versions between 4.14 and 4.71 - I have used any of those much due to mainly simulation bugs.

Has anyone found a workaround / fix for the mandatory recompile?

On the plus side, Keil SEEMs to have gotten the other bugs fixed that I have submitted.

CPU: str731 no microlib, RTX enabled.

Thanks,
Chad

Parents
  • It seems that having assembler and / or compiler output listings enabled causes recompilation in the newer MDK's.

    On another note while on output listings, If the linker listings are disabled the linker is now given a bad command in the RTX library location and gets unhappy:

    .\Obj\SIMULATOR.axf: error: L6002U: Could not open file .\Obj\C:\keil472\ARM\RV31\LIB\RTX_ARM_L.axf: Invalid argument

    Chad

Reply
  • It seems that having assembler and / or compiler output listings enabled causes recompilation in the newer MDK's.

    On another note while on output listings, If the linker listings are disabled the linker is now given a bad command in the RTX library location and gets unhappy:

    .\Obj\SIMULATOR.axf: error: L6002U: Could not open file .\Obj\C:\keil472\ARM\RV31\LIB\RTX_ARM_L.axf: Invalid argument

    Chad

Children
No data