title: Can't install glib with cabal on Windows - during the configure step
body: <p>On windows 7 x64, 
  I tried:</p>
  
  <pre><code> 1. install gtk+ all in one bundle 2.16
   2. add MinGW's bin address to PATH Environment variables
   3. add GTK+'s bin address to PATH Environment variables
  </code></pre>
  
  <p>On command line execute the:</p>
  
  <pre><code>cabal update
  cabal install gtk2hs-buildtools
  </code></pre>
  
  <p>So far so good. But when I execute the:</p>
  
  <pre><code>cabal install gtk
  </code></pre>
  
  <p>the error arise</p>
  
  <p>gtk-0.12.1 depends on glib-0.12.1 which failed to install.</p>
  
  <p>I execute next command:</p>
  
  <pre><code>cabal install glib
  </code></pre>
  
  <p>Then I tried:</p>
  
  <pre><code>cabal install glib --ghc-option=-DCABAL_VERSION_MINOR=10
  </code></pre>
  
  <p>Relults:</p>
  
  <pre><code>Resolving dependencies...
  
  [1 of 2] Compiling SetupWrapper     ( C:\Users\User\AppData\Local\Temp\glib-0.12
  .16572\glib-0.12.1\SetupWrapper.hs, C:\Users\User\AppData\Local\Temp\glib-0.12.1
  6572\glib-0.12.1\dist\setup\SetupWrapper.o )
  
  [2 of 2] Compiling Main             ( C:\Users\User\AppData\Local\Temp\glib-0.12
  .16572\glib-0.12.1\Setup.hs, C:\Users\User\AppData\Local\Temp\glib-0.12.16572\gl
  ib-0.12.1\dist\setup\Main.o )
  
  Linking C:\Users\User\AppData\Local\Temp\glib-0.12.16572\glib-0.12.1\dist\setup\
  setup.exe ...
  
  Warning: .drectve `-aligncomm:___gmp_junk,2' unrecognized
  
  cabal: Error: some packages failed to install:
  
  glib-0.12.1 failed during the configure step. The exception was:
  
  C:\Users\User\AppData\Local\Temp\glib-0.12.16572\glib-0.12.1\dist\setup\setup.exe:
  
   runProcess: invalid argument (Exec format error)
  </code></pre>
  
  <p>Help, thanks!</p>