title: Link tests are not allowed after GCC_NO_EXECUTABLES ---crosscompiling toolchain
body: <p>Iam trying to build a cross compiler using this tutorial:
  <a href="http://wiki.osdev.org/OS_Specific_Toolchain" rel="noreferrer">http://wiki.osdev.org/OS_Specific_Toolchain</a></p>
  
  <p>after succesfully building binutils,all-gcc,newlib</p>
  
  <p>I am getting an error in the last part of make in build-gcc</p>
  
  <pre><code>checking for shl_load... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
  Makefile:8970: recipe for target `configure-target-libstdc++-v3' failed
  make[1]: *** [configure-target-libstdc++-v3] Error 1
  make[1]: Leaving directory `/usr/src/build-gcc'
  Makefile:870: recipe for target `all' failed
  make: *** [all] Error 2
  </code></pre>
  
  <p>please help...</p>