------- Comment #13 from rolf dot ebert dot gcc at gmx dot de  2007-01-04 20:54 
-------
> Why does the '--disable-libada' switch disable gnattools-cross?

libada and gnattools-cross are not related, IMHO.  I consider the dependancy as
a configure/Makefile bug.

The following patch removes the dependency of gnattols on libada.

--- gcc-4.2-20061226/configure~ Sun Dec 10 22:43:30 2006
+++ gcc-4.2-20061226/configure  Thu Jan  4 10:15:19 2007
@@ -1136,9 +1136,6 @@
   ENABLE_LIBADA=yes
 fi

-if test "${ENABLE_LIBADA}" != "yes" ; then
-  noconfigdirs="$noconfigdirs gnattools"
-fi

 # Check whether --enable-libssp or --disable-libssp was given.
 if test "${enable_libssp+set}" = set; then

If you configure now with --disable-libada, the cross-gnattols get properly
built.  Tested on MinGW with gcc-4.2-20061226 targeting AVR.

    Rolf


-- 


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

Reply via email to