------- Comment #6 from gdr at integrable-solutions dot net 2006-02-14 19:14 ------- Subject: Re: --enable-languages=c,c++,fortran needs ada
"pinskia at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes: | (In reply to comment #4) | > Subject: Re: --enable-languages=c,c++,fortran needs ada | > | > "pinskia at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes: | > | > | Yes you forgot to remove the library and tools directory for Ada. | > | > So what? He did not ask for building Ada in --enable-languages. | > Clearly this is a bug. If I don't want to build C++, I don't have to | > remove the language and front-end directory -- it suffices I don't ask | > for C++ in --enable-languages. Ada should not be any different. | | Lets look at what happens here. The ada subdirectory in gcc was | removed so the toplevel configure did not know those | libraries/programs are only to build when ada is enabled. 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. | The same goes for when removing the c++ subdirectory in gcc and libstdc++ is | still being built. No. If not language (e.g. c++) requiring libstdc++ is specified, its build is not attempted, where the subdirectory is present or not. -- Gaby -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26259