User Tools

Site Tools


eric:computer:c-compiler-version

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

eric:computer:c-compiler-version [2026/10/09 19:53] – created admineric:computer:c-compiler-version [2026/10/09 20:06] (current) – removed admin
Line 1: Line 1:
-====== How to display the version of C you are compiling into. ====== 
  
- 
-Copy and past the following into your terminal: 
- 
-<code>gcc -dM -E - < /dev/null | grep __STDC_VERSION__ | awk '{ print $2 " --> " $3 }'</code> 
- 
-It should produce output such as: 
-<code>__STDC_VERSION__ --> 201710L</code> 
- 
- 
-Code from:  https://stackoverflow.com/questions/36662063/how-can-i-know-the-version-of-c 
eric/computer/c-compiler-version.1791575587.txt.gz · Last modified: by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki