title: Using the C99 standard causes GCC compiler errors
body: <p>I have a very simple print program called "print.c":</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  int main(void){
          printf("Random words");
  }
  </code></pre>
  
  <p>Compiling with the command <code>gcc -o print print.c</code> causes a completely clean compile and the executable runs as expected.</p>
  
  <p>Compiling with the command <code>gcc -o -std=c99 print print.c</code> gives me:</p>
  
  <pre><code>print: In function `_fini':
  (.fini+0x0): multiple definition of `_fini'
  /usr/lib/gcc/i686-linux-gnu/4.6.1/../../../i386-linux-gnu/crti.o:(.fini+0x0): first defined here
  print: In function `__data_start':
  (.data+0x0): multiple definition of `__data_start'
  /usr/lib/gcc/i686-linux-gnu/4.6.1/../../../i386-linux-gnu/crt1.o:(.data+0x0): first defined here
  print: In function `__data_start':
  (.data+0x4): multiple definition of `__dso_handle'
  /usr/lib/gcc/i686-linux-gnu/4.6.1/crtbegin.o:(.data+0x0): first defined here
  print:(.rodata+0x4): multiple definition of `_IO_stdin_used'
  /usr/lib/gcc/i686-linux-gnu/4.6.1/../../../i386-linux-gnu/crt1.o:(.rodata.cst4+0x0): first defined here
  print: In function `_start':
  (.text+0x0): multiple definition of `_start'
  /usr/lib/gcc/i686-linux-gnu/4.6.1/../../../i386-linux-gnu/crt1.o:(.text+0x0): first defined here
  print:(.rodata+0x0): multiple definition of `_fp_hw'
  /usr/lib/gcc/i686-linux-gnu/4.6.1/../../../i386-linux-gnu/crt1.o:(.rodata+0x0): first defined here
  print: In function `_init':
  (.init+0x0): multiple definition of `_init'
  /usr/lib/gcc/i686-linux-gnu/4.6.1/../../../i386-linux-gnu/crti.o:(.init+0x0): first defined here
  /tmp/ccfvqWMW.o: In function `main':
  print.c:(.text+0x0): multiple definition of `main'
  print:(.text+0xb4): first defined here
  /usr/lib/gcc/i686-linux-gnu/4.6.1/crtend.o:(.dtors+0x0): multiple definition of `__DTOR_END__'
  print:(.dtors+0x4): first defined here
  /usr/bin/ld: error in print(.eh_frame); no .eh_frame_hdr table will be created.
  collect2: ld returned 1 exit status
  </code></pre>
  
  <p>Does anyone know how to fix this?</p>