Index: gcc/java/config-lang.in =================================================================== --- gcc/java/config-lang.in (revision 166080) +++ gcc/java/config-lang.in (working copy) @@ -36,5 +36,7 @@ gtfiles="\$(srcdir)/java/java-tree.h \$( target_libs=${libgcj_saved} lang_dirs="fastjar" -#build_by_default=no lang_requires=c++ + +# Do not build java by default. +build_by_default=no Index: gcc/doc/install.texi =================================================================== --- gcc/doc/install.texi (revision 166080) +++ gcc/doc/install.texi (working copy) @@ -1320,7 +1309,7 @@ Currently, you can use any of the follow Building the Ada compiler has special requirements, see below. If you do not pass this flag, or specify the option @code{all}, then all default languages available in the @file{gcc} sub-tree will be configured. -Ada and Objective-C++ are not default languages; the rest are. +Java, Ada and Objective-C++ are not default languages; the rest are. Re-defining @code{LANGUAGES} when calling @samp{make} @strong{does not} work anymore, as those language sub-directories might not have been configured! @@ -1763,7 +1741,9 @@ tools. @subheading Java-Specific Options -The following option applies to the build of the Java front end. +The following option applies to the build of the Java front end. Note +that the Java front end is not built by default; in order to build it, +use the @option{--enable-languages} option described above. @table @code @item --disable-libgcj