This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[MinGW] PR target/19970: Java unnecessarily disabled for MinGW in top-level configure
- From: Ranjit Mathew <rmathew at gmail dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>, GCJ Patches <java-patches at gcc dot gnu dot org>
- Date: Wed, 07 Jun 2006 18:59:15 +0530
- Subject: [MinGW] PR target/19970: Java unnecessarily disabled for MinGW in top-level configure
- Openpgp: url=http://rmathew.com/aa_6C114B8F.txt
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Java and its libraries have been building for the MinGW
targets since at least GCC 3.3, but they are still enumerated
in noconfigdirs for MinGW targets in the top-level configure
script. Because of this, libgcj is not build for MinGW
even if --enable-languages lists java - an explicit
- --enable-libgcj is needed to overcome this. Recently,
target-boehm-gc was also added to this list (and whereever
else ${libgcj} was listed), exacerbating the problem.
This patch removes this unnecessary enumeration from
configure.in. Regenerating configure using FSF autoconf
2.13 shows that only this line is affected in the generated
script and therefore it should be pretty safe even this
late in the release cycle (it affects *only* MinGW in any
case).
OK for mainline?
Thanks,
Ranjit.
- --
Ranjit Mathew Email: rmathew AT gmail DOT com
Bangalore, INDIA. Web: http://rmathew.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEhtSrYb1hx2wRS48RAk/nAJ0auMGMwVjo99nBUs6NSmVTBEUxZgCdFWCc
ApNmeUFhEJlDm23shk3qPMI=
=l/EH
-----END PGP SIGNATURE-----
Index: ChangeLog
from Ranjit Mathew <rmathew@gcc.gnu.org>
PR target/19970
* configure.in: Remove target-boehm-gc and ${libgcj} from noconfigdirs
for MinGW targets.
* configure: Regenerate.
Index: configure.in
===================================================================
--- configure.in (revision 114459)
+++ configure.in (working copy)
@@ -616,7 +616,7 @@ case "${target}" in
;;
i[[3456789]]86-*-mingw32*)
target_configdirs="$target_configdirs target-mingw"
- noconfigdirs="$noconfigdirs expect target-libgloss target-boehm-gc ${libgcj}"
+ noconfigdirs="$noconfigdirs expect target-libgloss"
# Can't build gdb for mingw32 if not native.
case "${host}" in