This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/26259] --enable-languages=c,c++,fortran needs ada
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Feb 2006 20:16:36 -0000
- Subject: [Bug bootstrap/26259] --enable-languages=c,c++,fortran needs ada
- References: <bug-26259-365@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from pinskia at gcc dot gnu dot org 2006-02-14 20:16 -------
(In reply to comment #6)
> But the point is that the build machinery should not attempt to build
> those libraries/programs when ada is not part of --enable-languages,
> not just when the ada directory is present or absent. The decision
> should be based on --enable-languages, nto just absence or presence of
> directory.
But the language subdirectories has this information in config-lang.in.
For an example ada/config-lang.in:
target_libs="target-libada"
lang_dirs="gnattools"
So What do you expect when removing the ada subdirectory?
C++ has the same issue:
target_libs="target-libstdc++-v3"
And it has been this way since 2000:
revision 1.8
date: 2000/12/12 20:28:51; author: aoliva; state: Exp; lines: +3 -1
branches: 1.8.2; 1.8.10; 1.8.12;
* configure.in: Simplify language enabling/disabling code.
* configure: Rebuilt.
* ch/config-lang.in (target_libs): Set.
(build_by_default): Set to no.
* cp/config-lang.in (target_libs): Set.
* f/config-lang.in (target_libs): Set.
* java/config-lang.in (target_libs): Set.
* objc/config-lang.in (target_libs): Set.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26259