title: autoconf complains "C compiler cannot create executables" on Linux Mint
body: <p>I am trying to do an installations of Linux Mint 16 'petra' on both 32 and 64 bit installs.</p>
  
  <p>I have no internet connection on my pc so have to install all additional software manually.  Being a developer I thought I would attempt to install codeblocks with wxWidgets so followed the instructions found at:</p>
  
  <p><a href="http://wiki.codeblocks.org/index.php?ti" rel="noreferrer">http://wiki.codeblocks.org/index.php?ti</a></p>
  
  <p>In order to perform the installation it appeared that i would need pre-requistites so following instructions found on
  <a href="https://developer.gnome.org/gtk3/stable" rel="noreferrer">https://developer.gnome.org/gtk3/stable</a> ... lding.html
  downloaded glib 'stuff', unpacked and ran configure.</p>
  
  <p>It's at this point that things fail. I get a message in the terminal stating that the <code>C compiler cannot create executables</code> and to <code>see config.log for more details</code> which contains (amongst other stuff) the following:</p>
  
  <pre><code>gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu8) 
  configure:4072: $? = 0
  configure:4061: gcc -V &gt;&amp;5
  gcc: error: unrecognized command line option '-V'
  gcc: fatal error: no input files
  compilation terminated.
  configure:4072: $? = 4
  configure:4061: gcc -qversion &gt;&amp;5
  gcc: error: unrecognized command line option '-qversion'
  gcc: fatal error: no input files
  compilation terminated.
  </code></pre>
  
  <p>How do I diagnose these errors?</p>