Unfortunately I have been unsuccessful and getting the same error on linux mint 13, ubuntu and xubuntu 12.04.
The problem comes when I attempt to make gcc.
Firstly I have built binutils, gmp, mpfr and mpc.
GCC configures fine as follows:
but when I attempt to make it I always end up with the following error:sudo ../gcc-4.7.0/configure --target=i386-gravity-elf --disable-nls --without-headers --with-newlib --disable-threads --disable-shared --disable-libmudflap --disable-libssp --with-gmp=/opt/gravitygcc --with-mpfr=/opt/gravitygcc --with-mpc=/opt/gravitygcc
I have tried searching without any luck, Ive tried the GCC and Ubuntu IRC channels with no success either.checking for ISO C99 support in <stdio.h>... no
checking for ISO C99 support in <stdlib.h>... no
checking for fully enabled ISO C99 support... no
configure: Debug build flags set to -gdwarf-4 -g3 -O0
checking for additional debug build... no
configure: target-libgomp not built
checking for parallel mode support... no
checking for extra compiler flags for building...
checking for extern template support... yes
checking for custom python install directory... no
checking for -Werror... yes
checking for gets declaration... no
checking for EOWNERDEAD... no
checking for ENOTRECOVERABLE... no
checking for ENOLINK... no
checking for EPROTO... no
checking for ENODATA... no
checking for ENOSR... no
checking for ENOSTR... no
checking for ETIME... no
checking for EBADMSG... no
checking for ECANCELED... no
checking for EOVERFLOW... no
checking for ENOTSUP... no
checking for EIDRM... no
checking for ETXTBSY... no
checking for ECHILD... no
checking for ENOSPC... no
checking for EPERM... no
checking for ETIMEDOUT... no
checking for EWOULDBLOCK... no
checking for int64_t... checking for LFS support... no
checking sys/ioctl.h usability... no
checking sys/ioctl.h presence... no
checking for sys/ioctl.h... no
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking for poll... no
checking for S_ISREG or S_IFREG... no
checking sys/uio.h usability... no
checking sys/uio.h presence... no
checking for sys/uio.h... no
checking for writev... no
checking for complex.h... (cached) no
no
checking for ISO C99 support to TR1 in <ctype.h>... no
checking fenv.h usability... no
checking fenv.h presence... no
checking for fenv.h... no
no
checking for ISO C99 support to TR1 in <stdint.h>... no
checking for ISO C99 support to TR1 in <math.h>... no
no
no
checking stdbool.h usability... no
checking stdbool.h presence... yes
configure: WARNING: stdbool.h: present but cannot be compiled
configure: WARNING: stdbool.h: check for missing prerequisite headers?
configure: WARNING: stdbool.h: see the Autoconf documentation
configure: WARNING: stdbool.h: section "Present But Cannot Be Compiled"
configure: WARNING: stdbool.h: proceeding with the compiler's result
checking for stdbool.h... no
checking stdalign.h usability... no
checking stdalign.h presence... yes
configure: WARNING: stdalign.h: present but cannot be compiled
configure: WARNING: stdalign.h: check for missing prerequisite headers?
configure: WARNING: stdalign.h: see the Autoconf documentation
configure: WARNING: stdalign.h: section "Present But Cannot Be Compiled"
configure: WARNING: stdalign.h: proceeding with the compiler's result
checking for stdalign.h... no
checking for the value of EOF... configure: error: computing EOF failed
make[1]: *** [configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory `/home/andy/Downloads/build'
make: *** [all] Error 2
I am really hoping that someone here could shed some light please?
Thank you.