title: Unable to install binutils on my ubuntu
body: <p>I am trying to install binutils on my ubuntu:</p>
  
  <ol>
  <li>Downloaded the package <code>binutils-2.22</code></li>
  <li>I run <code>./configure</code> &amp; I get an error saying C compiler cannot create executables.
  Confused with the <code>config.log</code> really.
  Looks like it looking for some extra options..Can you please help?</li>
  </ol>
  
  <p>The following error from <code>config.log</code> looks to be the problem:</p>
  
  <blockquote>
    <p>configure:4018: $? = 0</p>
    
    <p>configure:4007: gcc -v >&amp;5</p>
    
    <p>Using built-in specs.</p>
    
    <p>COLLECT_GCC=gcc</p>
    
    <p>COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper</p>
    
    <p>Target: x86_64-linux-gnu</p>
    
    <p>Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-
    languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared 
    --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu</p>
    
    <p>Thread model: posix</p>
    
    <p>gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) </p>
    
    <p>configure:4018: $? = 0</p>
    
    <p>configure:4007: gcc -V >&amp;5</p>
    
    <p>gcc: error: unrecognized option '-V'</p>
    
    <p>gcc: fatal error: no input files</p>
    
    <p>compilation terminated.</p>
    
    <p>configure:4018: $? = 4</p>
    
    <p>configure:4007: gcc -qversion >&amp;5</p>
    
    <p>gcc: error: unrecognized option '-qversion'</p>
    
    <p>gcc: fatal error: no input files</p>
    
    <p>compilation terminated.</p>
    
    <p>configure:4018: $? = 4</p>
    
    <p>configure:4038: checking for C compiler default output file name</p>
    
    <p>configure:4060: gcc    conftest.c  >&amp;5</p>
    
    <p>/usr/local/bin/ld: this linker was not configured to use sysroots</p>
    
    <p>collect2: ld returned 1 exit status</p>
    
    <p>configure:4064: $? = 1</p>
    
    <p>configure:4101: result: </p>
    
    <p>configure: failed program was:</p>
    
    <p>| /* confdefs.h */</p>
  </blockquote>