This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/19959] [4.0/4.1/4.2/4.3 Regression] Can't compile gnattools for the cross targets
- From: "rolf dot ebert dot gcc at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Jan 2007 20:54:21 -0000
- Subject: [Bug ada/19959] [4.0/4.1/4.2/4.3 Regression] Can't compile gnattools for the cross targets
- References: <bug-19959-283@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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