From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26070 invoked by alias); 4 Jan 2007 20:54:29 -0000 Received: (qmail 26041 invoked by uid 48); 4 Jan 2007 20:54:21 -0000 Date: Thu, 04 Jan 2007 20:54:00 -0000 Message-ID: <20070104205421.26040.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug ada/19959] [4.0/4.1/4.2/4.3 Regression] Can't compile gnattools for the cross targets In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rolf dot ebert dot gcc at gmx dot de" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-01/txt/msg00216.txt.bz2 ------- 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