This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Building GCC using C++
On Tue, Jan 15, 2013 at 11:36:53AM +0530, Uday P. Khedker wrote:
>
>
> Basile Starynkevitch wrote, On Tuesday 15 January 2013 11:34 AM:
> >My belief is that it is no more possible to configure a recent GCC straight
> >(non-cross) compiler without --enable-language=c++
> >(that is, if you ask only for --enable-languages=c either configure
> >should bark, or it should also implicitly add C++).
>
> I was able to build gcc-4.7.2 with --enable-languages=c only :-)
But does the build and installed binaries contain some g++ ? I guess they do!
In other words --enable-languages=c should silently imply
--enable-languages=c,c++
But I am not entirely sure.
Cheers.
--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***