title: C binary : syntax error: `(' unexpected
body: <p>I am having a weird error. Before I begin, my question is not a copy of <a href="https://stackoverflow.com/questions/19464767/syntax-error-unexpected">Syntax error unexpected</a>.</p>
  
  <p>I have a C file. If I do <code>gcc code.c -Wall</code>. It creates <code>a.out</code>. And I am able to run <code>./a.out</code>. No errors and no warnings.</p>
  
  <p>In my case I have to compile this code for another compiler (to run on another architecture [powerpc-8540-netbsd-gcc]). In that makefile also I get no error during compilation and linking. But when I run it, I get :</p>
  
  <pre><code>./name_of_exe[1]: syntax error: `(' unexpected
  </code></pre>
  
  <p><code>name_of_exe</code> is my executable.</p>
  
  <p>What could be causing this error?</p>