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

Runtime check option in GNU ARM 7.3.1

Hello to everyone,

I would need to know if it is possible to set the runtime check enabled or disabled as a compiler option using GNU compiler 7.3.1. In the list of compiler commands I didn't find anything related to runtime check (as compiler option) but toolchain installion option.

Thanks in advance

Best Regards,

Andrea

Parents
  • Hi Andrea,

    What exactly are you trying to do? `--enable-checking` enables internal consistency checks inside the compiler itself but has no influence on end user programs produced by the compiler.  It has to be set during compilation and can't really be changed after that.

    The GNU releases are released compilers, so they are build with `--enable-checking=release` which leaves only cheap consistency checks.

    It would be helpful to explain what you're trying to do.

    Regards,

    Tamar

Reply
  • Hi Andrea,

    What exactly are you trying to do? `--enable-checking` enables internal consistency checks inside the compiler itself but has no influence on end user programs produced by the compiler.  It has to be set during compilation and can't really be changed after that.

    The GNU releases are released compilers, so they are build with `--enable-checking=release` which leaves only cheap consistency checks.

    It would be helpful to explain what you're trying to do.

    Regards,

    Tamar

Children
  • Hi Tamar,

    thank you very much for the clarification. 

    My question was related to the runtime check, if they are activated in GNU compiler release.

    Reading GNU configuration manual, `--enable-checking=release`  means that 'runtime' and 'assert' checks are activated.

    Does the option `--enable-checking=release` causes the user code instrumentation or not (from your answer it seems not)?

     

    thank you and BR,

     

    Andrea