title: When compiling GCC im getting configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details error
body: <p>Im using this code:</p>
  <blockquote>
  <p>BUILD_CC=&quot;gcc&quot; CC=&quot;${XterOS_TARGET}-gcc&quot; <br />
  AR=&quot;${XterOS_TARGET}-ar&quot; <br />
  RANLIB=&quot;${XterOS_TARGET}-ranlib&quot; CFLAGS=&quot;-O2&quot; <br />
  glibc-2.27/configure --prefix=/usr <br />
  --host=${XterOS_TARGET} --build=${XterOS_HOST} <br />
  --disable-profile --enable-add-ons --with-tls <br />
  --enable-kernel=2.6.32 --with-__thread <br />
  --with-binutils=${XterOS}/cross-tools/bin <br />
  --with-headers=${XterOS}/usr/include <br />
  --cache-file=config.cache</p>
  </blockquote>
  <p>and im getting this error</p>
  <blockquote>
  <p>configure: loading cache config.cache
  checking build system type... x86_64-cross-linux-gnu
  checking host system type... x86_64-unknown-linux-gnu
  checking for x86_64-unknown-linux-gnu-gcc... x86_64-unknown-linux-gnu-gcc
  checking for suffix of object files... configure: error: in <code>/home/igor/xter-os/glibc-build': configure: error: cannot compute suffix of object files: cannot compile See </code>config.log' for more details</p>
  </blockquote>
  <p>This is my config.log:
  <a href="https://pastebin.com/88bwKZwu" rel="nofollow noreferrer">https://pastebin.com/88bwKZwu</a></p>
  <p>And this is my configuration file
  <a href="https://pastebin.com/AdqcShP8" rel="nofollow noreferrer">https://pastebin.com/AdqcShP8</a></p>