Im using this code:
BUILD_CC="gcc" CC="${XterOS_TARGET}-gcc"
AR="${XterOS_TARGET}-ar"
RANLIB="${XterOS_TARGET}-ranlib" CFLAGS="-O2"
glibc-2.27/configure --prefix=/usr
--host=${XterOS_TARGET} --build=${XterOS_HOST}
--disable-profile --enable-add-ons --with-tls
--enable-kernel=2.6.32 --with-__thread
--with-binutils=${XterOS}/cross-tools/bin
--with-headers=${XterOS}/usr/include
--cache-file=config.cache
and im getting this error
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
/home/igor/xter-os/glibc-build': configure: error: cannot compute suffix of object files: cannot compile See
config.log' for more details
This is my config.log: https://pastebin.com/88bwKZwu
And this is my configuration file https://pastebin.com/AdqcShP8