title: GCC doesn't want to change output file
body: <p>It seems that since I installed the latest version of GCC, I am no longer able to compile any C file if I want to change the output file. Let's take an example, file <code>hello.c</code>:</p>
  
  <pre><code>#include &lt;stdlib.h&gt;
  #include &lt;stdio.h&gt;
  
  int main()
  {
       printf("hello\n");
  }
  </code></pre>
  
  <p>If I do :</p>
  
  <pre><code>gcc hello.c
  </code></pre>
  
  <p>It works fine and I have the <code>a.out</code> output. But if I want to change the name of the output, I should basically do :</p>
  
  <pre><code>gcc -o hello.c hello
  </code></pre>
  
  <p>Am I right?</p>
  
  <p>If so, I get this error :</p>
  
  <pre><code>gcc: error: hello: No such file or directory
  gcc: fatal error: no input files
  compilation terminated
  </code></pre>
  
  <p>For another example, it goes totally WTF :</p>
  
  <pre><code>gcc -o Simplexe.c Simplexe
  Simplexe: In function `_fini':
  (.fini+0x0): multiple definition of `_fini'
  /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crti.o:(.fini+0x0): first defined here
  Simplexe: In function `__data_start':
  (.data+0x0): multiple definition of `__data_start'
  /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crt1.o:(.data+0x0): first defined here
  Simplexe: In function `__data_start':
  (.data+0x8): multiple definition of `__dso_handle'
  /usr/lib/gcc/x86_64-linux-gnu/4.6/crtbegin.o:(.data+0x0): first defined here
  Simplexe:(.rodata+0x0): multiple definition of `_IO_stdin_used'
  /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crt1.o:(.rodata.cst4+0x0): first defined here
  Simplexe: In function `_start':
  (.text+0x0): multiple definition of `_start'
  /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crt1.o:(.text+0x0): first defined here
  Simplexe: In function `_init':
  (.init+0x0): multiple definition of `_init'
  /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crti.o:(.init+0x0): first defined here
  /usr/lib/gcc/x86_64-linux-gnu/4.6/crtend.o:(.dtors+0x0): multiple definition of `__DTOR_END__'
  Simplexe:(.dtors+0x8): first defined here
  /usr/bin/ld: error in Simplexe(.eh_frame); no .eh_frame_hdr table will be created.
  </code></pre>
  
  <p>I have never seen something like that, and it deleted my source file. I got caught once, I will never be anymore.</p>