http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55784



Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

                 CC|                            |ebotcazou at gcc dot

                   |                            |gnu.org



--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-12-22 
12:27:51 UTC ---

> --- ../_clean/gcc/configure    2012-12-20 17:19:54.000000000 +0100

> +++ ../p_work/gcc/configure    2012-12-21 23:44:46.000000000 +0100

> @@ -10321,9 +10321,9 @@ $as_echo "#define HAVE_LANGINFO_CODESET 

> 

>  # We will need to find libiberty.h and ansidecl.h

>  saved_CFLAGS="$CFLAGS"

> -CFLAGS="$CFLAGS -I${srcdir} -I${srcdir}/../include"

> +CFLAGS="$CFLAGS -I${srcdir} -I${srcdir}/../include $GMPINC"

>  saved_CXXFLAGS="$CXXFLAGS"

> -CXXFLAGS="$CXXFLAGS -I${srcdir} -I${srcdir}/../include"

> +CXXFLAGS="$CXXFLAGS -I${srcdir} -I${srcdir}/../include $GMPINC"

>  for ac_func in getenv atol asprintf sbrk abort atof getcwd getwd \

>      strsignal strstr stpcpy strverscmp \

>      errno snprintf vsnprintf vasprintf malloc realloc calloc \

> 

> fixes it for languages c,c++,lto,fortran,objc,obj-c++, but not for libada (I

> did not test libjava, nor go).

> With the above patch libada fails with



Try to add $GMPINC to INCLUDES & INCLUDES_FOR_SUBDIR in

gcc-interface/Makefile.in

Reply via email to