title: MinGW gfortran compilation error: "Unrecognized option '-plugin' "
body: <p>I'm trying to get a Fortran compiler up and running on my windows machine but I just can't get it to work for some reason. I've installed the "Basic setup" part of the latest MinGW and I'm trying to compile a simple "Hello world" program but I'm getting the following error message:</p>
  
  <pre><code>C:\MinGW&gt;gfortran -o executable Hello.f90
  c:/mingw/bin/../lib/gcc/mingw32/8.2.0/../../../../mingw32/bin/ld.exe: unrecognized option '-plugin'
  c:/mingw/bin/../lib/gcc/mingw32/8.2.0/../../../../mingw32/bin/ld.exe: use the --help option for usage information
  collect2.exe: error: ld returned 1 exit status
  </code></pre>
  
  <p>Here's the source file for reference:</p>
  
  <p>Hello.f90</p>
  
  <pre><code>program Hello
      write (*,*) 'Hello, world!'
  end program Hello
  </code></pre>
  
  <p>Does anyone have any clue what the issue might be?</p>
  
  <p>edit:
      version information</p>
  
  <pre><code>C:\Users\Angel&gt;c:/mingw/bin/ld.exe --version
  GNU ld version 2.17.50 20060824
  Copyright 2005 Free Software Foundation, Inc.
  This program is free software; you may redistribute it under the terms of
  the GNU General Public License.  This program has absolutely no warranty.
  </code></pre>