title: compiling a C file with gcc to get x86 assembly code
body: <p>I have a C file heapsort.c which Im trying to compile on a 64 bit linux machine to output the corresponding assembly code. Im using the following command:</p>
  
  <pre><code> gcc -02 -S heapsort.c
  </code></pre>
  
  <p>when I type this Im getting this error message</p>
  
  <pre><code> gcc:error: unrecognized option '-02'
  </code></pre>
  
  <p>I tried googling this error but nothing helpful came up. Any suggestions on how to navigate this error and get the x86 output?</p>