title: How to know the gcc version used to build the linux?
body: <p>I use OpenWRT. it's a linux distribution for embedded systems</p>
  
  <p>I want to know the gcc version used to compile the linux</p>
  
  <p>I made some researchs in the net but without results.</p>
  
  <p>I tried to execute these commands for some existing binary  in the linux OpenWRT (like wget)</p>
  
  <pre><code>strings -a &lt;default binary&gt; | grep "GCC"
  strings -a &lt;default binary&gt; | grep "gcc"
  </code></pre>
  
  <p>But I did not get any result</p>
  
  <p>even the </p>
  
  <pre><code>strings -a  /lib/libgcc_s.so.1 | grep  "gcc"
  strings -a /lib/libuClibc-0.9.30.1.so | grep   "gcc"
  </code></pre>
  
  <p>does not give any result</p>
  
  <p>Are there a way to know used gcc to build the whole linux (For both user space and kernel space)?</p>