You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/07/01 10:36:38 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #1344: boards: Remove the unused ARCHCCVERSION and ARCHCCMAJOR

xiaoxiang781216 commented on pull request #1344:
URL: https://github.com/apache/incubator-nuttx/pull/1344#issuecomment-652339778


   > @xiaoxiang781216 Should this be removed or used?
   > Printing the version of a compiler and the git hash allows us to due post postmortem debugging.
   > if used it should be displayed at build time and stored stored in proc with there version info.
   
   The same info already support, you can:
   1.Call uname programatically
   2.Or cat /proc/version by scripting
   The output include:
   1.The build date/time
   2.The release tag(e.g. 9.0.1)
   3.The last commit id
   4.The dirty flag(whether has the uncommited change)
   ```
   nsh> cat /proc/version
   NuttX version 9.0.0 ac6183365a-dirty Jul  1 2020 18:33:52
   nsh> uname -a
   NuttX  9.0.0 ac6183365a-dirty Jul  1 2020 18:33:34 sim sim
   ```
   So we don't need keep these unused variables.
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org