https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128972

--- Comment #3 from mateuszb at poczta dot onet.pl ---
After configure there is more checks for gmp:
checking whether g++ supports C++14 features by default... yes
checking for objdir... .libs
checking for the correct version of gmp.h... yes
checking for the correct version of mpfr.h... yes
checking for the correct version of mpc.h... yes
checking for the correct version of the gmp/mpfr libraries... yes
checking for the correct version of the mpc libraries... yes
checking for isl 0.15 or later... yes

And next we go:
make[2]: Entering directory '/home/m/m/b/tg_gcc/libiberty'

libiberty compilation goes OK, next we have:

checking for vfork... no
checking for ld used by GCC... /home/m/m/c/bin/x86_64-w64-mingw32-ld
checking if the linker (/home/m/m/c/bin/x86_64-w64-mingw32-ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... no, consider installing GNU libiconv
checking for LC_MESSAGES... no
checking for nl_langinfo and CODESET... no
checking whether gmp.h can be used... yes
checking whether basename is declared... yes
checking whether atoll is declared... yes
[...]

and with the same set of 'checking':
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking whether iconv is compatible with its POSIX signature... yes
checking for LC_MESSAGES... yes
checking for nl_langinfo and CODESET... yes
checking whether gmp.h can be used... no
configure: error: cannot compile with gmp.h using GMPINC ().
An in-tree gmp must create gmp.h when it is configured.
make[1]: *** [Makefile:4735: configure-gcc] Error 1

After two 'yes' about gmp.h it stops on the third.

Reply via email to