This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/19959] [4.0/4.1/4.2/4.3 Regression] Can't compile gnattools for the cross targets



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]