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]

--enable-languages problem on the branch


I could by misunderstand this code, but the toplevel configure.in does not
seem to handle --enable-languages=c correctly now.  It decides that Java
requires C++ and thus enables C++, ignoring that Java is not enabled.

It seems to me that the code at line 1005 isn't really correct:
# First scan to see if an enabled language requires some other language.
# We assume that a given config-lang.in will list all the language
# front ends it requires, even if some are required indirectly.   
for lang in ${srcdir}/gcc/*/config-lang.in ..

Why loop through the config-lang.in files for non-enabled languages?

-- 
Daniel Jacobowitz                           Debian GNU/Linux Developer
Monta Vista Software                              Debian Security Team
                         "I am croutons!"


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